Path to this page:
Subject: CVS commit: pkgsrc/lang/fennel
From: Yorick Hardy
Date: 2024-10-13 23:04:53
Message id: 20241013210453.1CB07FC7E@cvs.NetBSD.org
Log Message:
lang/fennel: update to fennel-1.5.1
== 1.5.1 / 2024-08-24
--- Bug Fixes
* `,doc`/`fennel.doc`: Don't mutate `:fnl/arglist` directly when
showing callable form
* `(set (. tgt k1 ...) v)` now works on known globals and
`$, $1 ... $9` in hashfns
* Macro quote expansion no longer breaks when `sym`, `list` or
`sequence` is shadowed
* Bring `fennel.traceback` behavior closer to Lua's `traceback` by
not modifying non-string and non-`nil` values.
* Avoid losing precision when compiling large numbers on LuaJIT.
* Add syntax for representing infinity and NaN values.
== 1.5.0 / 2024-06-23
--- New Features
* Macro `pick-values` is now a special, allowing it to emit better
Lua output.
* Add `fennel.getinfo` as source-map-aware equivalent of
`debug.getinfo`.
* Optimize allocation away when destructuring tables to tables.
* Allow `&` and `&as` in the same destructure clause.
* More consistent module-not-found warnings for `--require-as-include`.
* Improve compiler output for `and`/`or` forms with potential
side-effects.
* Allow locals in places where they make sense rather than
mid-expression.
* Accept `--keywords` option to add to the list of built-in
Lua keywords.
* REPL completion now works on partial REPL commands:
e.g. `,complete ,d` -> `,doc`.
* Tables in the REPL default to printing with limited depth.
* View settings in REPL can be changed:
`(set ___repl___.view-opts.depth 100)`.
* Support dynamic field names in `(set (. tbl field) val)`.
* The `fennel.compile` function now accepts an AST, iterator, or file.
* Catch typos when a space is missing after a string.
--- Bug Fixes
* `(pick-values 0 (side-effects))` now correctly preserves side
effects
* Don't non-nil assert on `_foo` arguments in `lambda`.
* Propagate compile options into `,compile` repl command.
* IIFEs emitted by `and`/`or` inside `(fn [...])` now propagate
varargs.
* `macrodebug` on cyclic macro expansions now serialize to valid code
(no `@1, ..`)
Files: