Release Notes
Added
- Three more spells for
lux magic. Where the first three answer the
listening question, these answer the next ones a player hits while building a
world. lux magic list carries more than one thing — an array grown with +=,
walked with a for loop. lux magic save keeps something so it's there next
time, writing and reading a file as the same Result you match. lux magic args reads what's typed after the file name, the second way a program is told
things alongside readLine. Each carries its trail back into lux learn, and
every one is real lux the suite runs and translates.
Fixed
- Invalid Go from a
_-bound Result or Option arm. An err(let _) or
some(let _) match arm emitted _ := err.Error() / _ := *ptr, which Go
rejects (no new variables on left side of :=). The Go backend now skips the
binding when it is _ — the error or pointer is already consumed by the
== nil test — so a match that ignores its payload translates cleanly. This
also clears the same two errors from examples/keep.lux's Go output.
Install lux 0.8.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/anderix/lux/releases/download/v0.8.1/lux-installer.sh | sh
Download lux 0.8.1