diff --git a/NEWS b/NEWS index d93addb0..f0e6ca83 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,51 @@ Ginger Development News ======================= +Ginger Version 0.9.2 +-------------------- + +Ubuntu SNAP Packaging +~~~~~~~~~~~~~~~~~~~~~ +Canonical have a new 'universal' package format they call Snap. Ginger has been +rewritten to be Snap compliant. This is the fastest and simplest way to +install, update and remove Ginger, at least on Ubuntu. (There are other +competing formats, such as Flatpak, that would also be possible.) + + % sudo snap install --devmode https://github.com/Spicery/ginger/releases/download/v0.9.2/ginger_0.9.2_amd64.snap + +Command-Line Interface +~~~~~~~~~~~~~~~~~~~~~~ +The command-line interface has been substantially rewritten to make GNU readline +part of the core functionality. This eliminates the dependency on rlwrap, although +that remains a useful tool for developers e.g. for gvmtest. This simplifies the +delivery and setup and the ginger executable is now a genuine executable and not +a shebang script - the latter unfortunately being more limited in terms of +scripting. + +The ginger executable now takes a 'command' argument that selects the actual +program: + + % ginger + +The program is selected by the very simple strategy of prefixing the command +with "ginger-". Hence, as an example, the following two command-line are identical: + + % ginger admin + % ginger-admin + +If omitted the command defaults to "cli", and invokes "ginger-cli". This is an abbreviation for "command line interface". + +Refactorings +~~~~~~~~~~~~ +* The old appginger executable, which has been without any real use for several + years, has been properly retired. The few places it was used have been + properly replace by ginger-script. +* Reduction in the use of old-style C-macros in favour of C++ constants. +* System-functions have been re-organised to make it possible to manage them + in a modular way. This functionality has not been used as yet. +* The system-functions table has been renamed to something more sensible. + + Ginger Version 0.9.1 -------------------- diff --git a/snapcraft/snapcraft.yaml b/snapcraft/snapcraft.yaml index 16cbd5b8..594be9d1 100644 --- a/snapcraft/snapcraft.yaml +++ b/snapcraft/snapcraft.yaml @@ -2,7 +2,7 @@ name: ginger version: "0.9.2" summary: "The Ginger programming language, packaged as a snap" description: "Ginger itself is a intended to be a rigorous but friendly programming language and supporting toolset. It includes a syntax-neutral programming language, a virtual machine implemented in C++ that is designed to support the family of Spice language efficiently, and a collection of supporting tools." -confinement: strict +confinement: devmode apps: ginger: @@ -14,4 +14,4 @@ parts: ginger-steelypip: plugin: autotools configflags: ["--enable-snap"] - source: .. + source: https://github.com/Spicery/ginger.git