Path to this page:
Subject: CVS commit: pkgsrc/lang/fennel
From: Yorick Hardy
Date: 2023-07-22 23:38:18
Message id: 20230722213818.34171FBDB@cvs.NetBSD.org
Log Message:
lang/fennel: update to fennel-1.3.1
1.3.1 / 2023-07-07
New Features
* fennel.runtime-version will return version information as a
table if given optional argument
* Expose REPL's methods in the ___repl___ table, allowing method
redefinition at runtime.
* Allow following docstring with a metadata table syntax.
* Return whole metadata table when metadata.get is called without
a key.
* Add :byte-escape option to fennel.view for overriding default
char escapes
* Generate man pages for fennel-api(3), fennel-reference(5), and
fennel-tutorial(7) from their respective documentation.
Note for packagers: The man page fennel.1 has been moved to
man/man1/fennel.1 along with the new generated man pages. For build
scripts that copy files manually in lieu of make install, this may
require an update.
Bug Fixes
* Fix a bug where operator compiler output had incorrect precedence
with 3+ args
* Fix a bug where the comment special would fail on forms
containing "]]"
* Fix a bug where tables like {:true 1 true 2} emit with unstable
key order
* Fix a bug where table literals mutated by a macro emit with
unstable key order when AOT-compiled in Lua > 5.2
* Fix a bug where very long individual lines in the repl would be
truncated
* Fix an edge case where {:__metatable true} (as in pandoc-lua)
breaks fennel.view
* Fix a 1.3.0 bug where macros only accepts table literals, not
table-returning exprs
* Fix a bug where metadata tables with different arglists break
lambdas
* Fix a bug with detecting cycles for tables that have custom
__pairs metamethod in fennel.view
* Fix a bug where vararg couldn't be the only thing in a hashfn
Files: