From f04dfaa7556bb9611767f15c84373b0bcc4e1d06 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Thu, 8 Apr 2021 14:41:07 -0700 Subject: [PATCH] Release 0.9.0. --- changelog.md | 2 +- fennel.1 | 4 ++++ rockspecs/fennel-0.9.0-1.rockspec | 31 +++++++++++++++++++++++++++++++ setup.md | 28 ++++++++++++++-------------- src/fennel.fnl | 2 +- 5 files changed, 51 insertions(+), 16 deletions(-) create mode 100644 rockspecs/fennel-0.9.0-1.rockspec diff --git a/changelog.md b/changelog.md index da9c9c7c..5297c5c7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Summary of user-visible changes -## 0.9.0 / ??? +## 0.9.0 / 2021-04-08 * Add `--use-bit-lib` flag to allow bitwise operations to work in LuaJIT * Add `macro-searchers` table for finding macros similarly to `package.searchers` diff --git a/fennel.1 b/fennel.1 index b1705b9e..4addcf12 100644 --- a/fennel.1 +++ b/fennel.1 @@ -74,6 +74,10 @@ Instead of loading required modules at runtime, compile them inline into the main file being compiled. Only useful during ahead-of-time compilation. .TP +.B \-\-use-bit-lib +Compile bitwise operations to use LuaJIT's bitop library instead of Lua +5.3+ bitwise operators. +.TP .B \-\-load \fIFILE\fP Load the specified file before any command is run. .TP diff --git a/rockspecs/fennel-0.9.0-1.rockspec b/rockspecs/fennel-0.9.0-1.rockspec new file mode 100644 index 00000000..297bd9df --- /dev/null +++ b/rockspecs/fennel-0.9.0-1.rockspec @@ -0,0 +1,31 @@ +-- -*- lua -*- + +package = "fennel" +version = "0.9.0-1" +source = { + -- use URL to a pre-built release archive so the standalone launcher can be used + url = "https://fennel-lang.org/downloads/fennel-0.9.0.tar.gz", +} +description = { + summary = "Lisp that compiles to Lua", + detailed = [[ +A lisp-like language that compiles to efficient Lua. Combine +meta-programming with Lua.]], + homepage = "https://fennel-lang.org/", + license = "MIT" +} +dependencies = { + "lua >= 5.1" +} +build = { + type = "builtin", + modules = { + fennel = "fennel.lua", + fennelview = "fennelview.lua", + }, + install = { + bin = { + fennel = "fennel" + }, + } +} diff --git a/setup.md b/setup.md index 82410104..41cfa526 100644 --- a/setup.md +++ b/setup.md @@ -25,12 +25,12 @@ installed on your system. This method requires you to manually update the `fennel` script when you want to use a newer version that has come out. - 1. Download [the fennel script](https://fennel-lang.org/downloads/fennel-0.8.1) - 2. Run `chmod +x fennel-0.8.1` to make it executable - 3. Download [the signature](https://fennel-lang.org/downloads/fennel-0.8.1.asc) - 4. Run `gpg --verify fennel-0.8.1.asc` to verify that the fennel + 1. Download [the fennel script](https://fennel-lang.org/downloads/fennel-0.9.0) + 2. Run `chmod +x fennel-0.9.0` to make it executable + 3. Download [the signature](https://fennel-lang.org/downloads/fennel-0.9.0.asc) + 4. Run `gpg --verify fennel-0.9.0.asc` to verify that the fennel script is from the Fennel creators (optional but recommended) - 5. Move `fennel-0.8.1` to a directory on your `$PATH`, such as `/usr/local/bin` + 5. Move `fennel-0.9.0` to a directory on your `$PATH`, such as `/usr/local/bin` **Note**: You can rename the script to `fennel` for convenience. Or you can leave the version in the name, which makes it easy to keep @@ -43,14 +43,14 @@ Downloading a Fennel binary allows you to run Fennel on your computer without having to download Lua, if you are on a supported platform. 1. Choose one the options below, depending on your system: - - [GNU/Linux x86_64](https://fennel-lang.org/downloads/fennel-0.8.1-x86_64) - ([signature](https://fennel-lang.org/downloads/fennel-0.8.1-x86_64.asc)) - - [GNU/Linux arm32](https://fennel-lang.org/downloads/fennel-0.8.1-arm32) - ([signature](https://fennel-lang.org/downloads/fennel-0.8.1-arm32.asc)) - - [Windows x86 32-bit](https://fennel-lang.org/downloads/fennel-0.8.1-windows32.exe) - ([signature](https://fennel-lang.org/downloads/fennel-0.8.1-windows32.exe.asc)) - 2. Run `chmod +x fennel-0.8.1*` to make it executable (not needed on Windows). - 3. Download the signature and confirm it matches using `gpg --verify fennel-0.8.1*.asc` + - [GNU/Linux x86_64](https://fennel-lang.org/downloads/fennel-0.9.0-x86_64) + ([signature](https://fennel-lang.org/downloads/fennel-0.9.0-x86_64.asc)) + - [GNU/Linux arm32](https://fennel-lang.org/downloads/fennel-0.9.0-arm32) + ([signature](https://fennel-lang.org/downloads/fennel-0.9.0-arm32.asc)) + - [Windows x86 32-bit](https://fennel-lang.org/downloads/fennel-0.9.0-windows32.exe) + ([signature](https://fennel-lang.org/downloads/fennel-0.9.0-windows32.exe.asc)) + 2. Run `chmod +x fennel-0.9.0*` to make it executable (not needed on Windows). + 3. Download the signature and confirm it matches using `gpg --verify fennel-0.9.0*.asc` (optional but recommended). 4. Move the downloaded binary to a directory on your `$PATH`, such as `/usr/local/bin` @@ -102,7 +102,7 @@ The Fennel compiler can be added to your code repository, and then loaded from Lua. 1. Get the `fennel.lua` library. You can get this from a - [release tarball](https://fennel-lang.org/downloads/fennel-0.8.1.tar.gz) + [release tarball](https://fennel-lang.org/downloads/fennel-0.9.0.tar.gz) or by running `make` in a source checkout. 2. Add `fennel.lua` to your code repository. 3. Add the following lines to your Lua code: diff --git a/src/fennel.fnl b/src/fennel.fnl index 80aa2e10..92257d30 100644 --- a/src/fennel.fnl +++ b/src/fennel.fnl @@ -109,7 +109,7 @@ : view : eval :dofile dofile* - :version :0.9.0-dev + :version :0.9.0 : repl ;; backwards-compatibility aliases :loadCode specials.load-code