Skip to content

Commit

Permalink
Release 0.9.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Apr 8, 2021
1 parent afc59a5 commit f04dfaa
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 16 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
4 changes: 4 additions & 0 deletions fennel.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
31 changes: 31 additions & 0 deletions rockspecs/fennel-0.9.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -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"
},
}
}
28 changes: 14 additions & 14 deletions setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`

Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/fennel.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f04dfaa

Please sign in to comment.