head 1.8; access; symbols pkgsrc-2026Q2:1.8.0.4 pkgsrc-2026Q2-base:1.8 pkgsrc-2026Q1:1.8.0.2 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.5.0.10 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.8 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.6 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.4 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.2 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.4.0.4 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.2 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.3.0.6 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.4 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.2 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.2.0.2 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @# @; 1.8 date 2025.12.31.02.42.31; author ktnb; state Exp; branches; next 1.7; commitid bJSdzJiuD1bYsvoG; 1.7 date 2025.12.28.07.11.00; author wiz; state Exp; branches; next 1.6; commitid 8BpwkXWP6BdT29oG; 1.6 date 2025.12.26.20.19.25; author ktnb; state Exp; branches; next 1.5; commitid 8NUzDdXTEZgwtXnG; 1.5 date 2024.10.13.21.04.52; author yhardy; state Exp; branches; next 1.4; commitid J0tCeTHE3JjFOxtF; 1.4 date 2024.05.30.20.17.34; author yhardy; state Exp; branches; next 1.3; commitid 1LgDnVNmT9kIV3cF; 1.3 date 2023.07.22.21.38.17; author yhardy; state Exp; branches; next 1.2; commitid uBbfftQGpxkirQxE; 1.2 date 2023.04.27.12.45.56; author yhardy; state Exp; branches; next 1.1; commitid K3XeCTZQvCcTgKmE; 1.1 date 2023.01.10.21.51.30; author nikita; state Exp; branches; next ; commitid CCucOwlotkKOI29E; desc @@ 1.8 log @fennel: update to 1.6.1 Packaging changes: - fixed distfile issue - man it possible to actually read the man page - the manpage for the language itself is now fennel-lang.1 to avoid conflict with pkgtools/pkg_alternatives's fennel.1 Upstream changes: - Fix a bug where pattern matches on `...` could error out. @ text @$NetBSD: distinfo,v 1.7 2025/12/28 07:11:00 wiz Exp $ BLAKE2s (fennel/1.6.1.tar.gz) = 8c6af53e3a45c8d43e0a9ff5347f98b590ddbe6678ec70205e07f064ce0b7621 SHA512 (fennel/1.6.1.tar.gz) = d5f6a918f5a09bb487fd1d46dab574ad0aa610ad78a9a7a62b0fa0b6080fce0797d783614ce25d204c29983fd92be1df9d5f935ecfb9147888e8e1314002dc64 Size (fennel/1.6.1.tar.gz) = 318230 bytes SHA1 (patch-Makefile) = e3b0ce56b1705e917f841fd2d523fc438d701445 @ 1.7 log @fennel: automatic download fails due to bot filter Replace distfile with what one gets via the web browser No change to checksum. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.6 2025/12/26 20:19:25 ktnb Exp $ d3 3 a5 3 BLAKE2s (fennel-1.6.0.tar.gz) = b78ad999b139e7d605445203a5e5e83f89f016af706c6fa90f88f18a8fb3429f SHA512 (fennel-1.6.0.tar.gz) = ab08fdf6c084cf63e1e5eaa1b1819f22b2fffda5d7488f6b52a8266b990d8f40e15979f3db89698dd3e7f0b851fd91a2c9a09213f3f4f020b2d31e03ba989de6 Size (fennel-1.6.0.tar.gz) = 318201 bytes @ 1.6 log @fennel: update to 1.6.0 * Support `extra-compiler-env` in options table when compiling. * Accept `path` in options table of `fennel.install`. * Improve printing of large integers in Lua 5.3+. * Allow disk reads from compiler sandbox. * Add `--to-be-closed` option for better stack traces in `with-open` on Lua 5.4. * Stack traces from macro errors shouldn't contain compiler internals. * Look for macros in `.fnlm` files in addition to `.fnl` files. * Support `extra-env` in compiler API when evaluating in compiler scope. * Allow `--compile-binary` to work on `.lua` and `.luac` files. * Add `--lambda-as-fn` option to remove overhead from arg checking. * Fix a bug where `,find` repl command didn't work on files with long names. * Some 3-decimal string escapes ignored the 3rd digit; e.g. `\x7f` -> `\127` -> `\f7`. * In PUC Lua 5.1, the escape `"\127"` compiled to a literal byte in the string. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2024/10/13 21:04:52 yhardy Exp $ d3 3 a5 3 BLAKE2s (fennel/1.6.0.tar.gz) = b78ad999b139e7d605445203a5e5e83f89f016af706c6fa90f88f18a8fb3429f SHA512 (fennel/1.6.0.tar.gz) = ab08fdf6c084cf63e1e5eaa1b1819f22b2fffda5d7488f6b52a8266b990d8f40e15979f3db89698dd3e7f0b851fd91a2c9a09213f3f4f020b2d31e03ba989de6 Size (fennel/1.6.0.tar.gz) = 318201 bytes @ 1.5 log @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, ..`) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2024/05/30 20:17:34 yhardy Exp $ d3 4 a6 4 BLAKE2s (fennel/1.5.1.tar.gz) = 7d22fcbc060374a63b2a9b60f41412ee3368fe16b08309262330d9b71b010705 SHA512 (fennel/1.5.1.tar.gz) = 723f85d62ffc8fc2a958ba52ae491681274ed0b300352cf49067a3456b6f074e74e1540ae27ca102a3e7ccb47e32b3c4dbec6346ae2ede7282903246ef8c5b1d Size (fennel/1.5.1.tar.gz) = 306440 bytes SHA1 (patch-Makefile) = 8f3341ea92174e784bb64171886f25035a8bd640 @ 1.4 log @lang/fennel: update to fennel-1.4.2 Changelog: == 1.4.2 / 2024-02-23 === Bug Fixes * Fix a bug where `(tail! (f x))` could sometimes compile to `return return f(x)` * Make `tail!` ensure its target is not a special form call like `(tail! (or x (f)))` * Fix broken man page installation on `make install` in Fennel 1.4.1 == 1.4.1 / 2024-02-19 This was the last release that provided Linux arm32 binaries. === New Features * Iterators accept locals wrapped in parens like all other multi-value bindings. * `fennel.repl` is now a callable table, allowing the default `(fennel.repl)` options to be customized by setting option fields on the table itself. === Bug Fixes * Fix a bug with metadata tables in `lambda` being ignored. * Fix identity value for `band` operator. * Fix a bug in `icollect` with `&into` and multiple values. * `assert-repl`, as a drop-in replacement for `assert`, no longer takes an `opts` param * Fix a bug where `(. (a-macro) k)` bypassed protections against invalid Lua output === Changes and Removals * Deprecate the `__fennelrest` destructuring metamethod. == 1.4.0 / 2023-12-01 === Bug Fixes * Prevent metadata from being accessible in compiler sandbox. === New Forms * Add `tail!` which asserts that the argument is called in tail position. * Add `assert-repl` to make an assertion which opens a repl when it fails. === New Features * Add `--assert-as-repl` flag to replace `assert` calls with `assert-repl`. * Allow you to return a value from the repl with `,return FORM` command. * Save previous REPL values in `*1`, `*2`, and `*3` locals. * Make repl prompt change when repl sessions get nested. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2023/07/22 21:38:17 yhardy Exp $ d3 4 a6 4 BLAKE2s (fennel/1.4.2.tar.gz) = d546f3031d3a57468bfbfb73371dced0701fc9d5d7d28d4b4a47a00f7d5e46ab SHA512 (fennel/1.4.2.tar.gz) = 13b6020314d010566c7521b85065a446e09f8a0cfec9b9cb4bc2e23fe59369d105538bcb8a3a7cd865c399742d98a1742da932f8bde993c1136422f803069071 Size (fennel/1.4.2.tar.gz) = 301195 bytes SHA1 (patch-Makefile) = c4f164619767ac323d8291cf40c0fa279af9995b @ 1.3 log @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 @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2023/04/27 12:45:56 yhardy Exp $ d3 4 a6 4 BLAKE2s (fennel/1.3.1.tar.gz) = 875fbe943b39ff69668c85ca2f4a3cd6c4ca23ff9da6ae6a5783bc9fd83f01bb SHA512 (fennel/1.3.1.tar.gz) = 421d479c4527898123020ecc231e5eea38c5f5f1216f4a0bed0a39b8123d6a21ba1b0e876d281dfde447fe000e34a81f706303b4daa2626cc7559c063990cd5f Size (fennel/1.3.1.tar.gz) = 293564 bytes SHA1 (patch-Makefile) = 37791a1b917854256dd2715b77297f3bf1d8fb04 @ 1.2 log @lang/fennel: update to fennel-1.3.0 1.3.0 / 2023-02-13 New Forms * Add case which does pattern matching without pinning existing locals * Add case-try which works like match-try without pinning locals * Add faccumulate macro as range analog to accumulate New Features * Reduced compiler memory footprint * Omit escape codes highlighting errors when NO_COLOR env var is set * Support & for rest args in function arglists for consistency with let * Add error-pinpoint option to support custom error highlighting * The fn special now allows arbitrary compiler metadata keys via the metadata table syntax * Options in fennel.view can be altered for the next invocation of the pretty-printer by setting them to {:once val} or {:once val :after other-val}. See fennel.view docstring for more info Bug Fixes * Fix a bug where readline repl history would be saved to the wrong file * Fix a bug where set did not catch unknown locals when setting table fields * Add a workaround for a bug around ctrl-d in readline @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1 2023/01/10 21:51:30 nikita Exp $ d3 4 a6 4 BLAKE2s (fennel/1.3.0.tar.gz) = eab7c8696c6c43cb52cfb573324f3d569cb639b5ae9bfb5e84d30833f2dd7d1f SHA512 (fennel/1.3.0.tar.gz) = b4b9b96f71d1cbbf5c81eae737aca01f7d417a227925d19008a923f5045a86a355297f927ecdb719653097f73d6d6df148955b1973e4483dd14e863384ca0ff3 Size (fennel/1.3.0.tar.gz) = 280241 bytes SHA1 (patch-Makefile) = 7d5bc78b33725551ce9ce1cb11570377daeb99a3 @ 1.1 log @Import lang/fennel as fennel version 1.2.1 Packaged by charlotte@@ in wip. Fennel is a lisp that compiles to Lua. It aims to be easy to use, expressive, and has almost zero overhead compared to writing Lua directly. Features: - Full Lua compatibility: Easily call any Lua function or library from Fennel and vice-versa. - Zero overhead: Compiled code should be just as efficient as hand-written Lua. - Compile-time macros: Ship compiled code with no runtime dependency on Fennel. - Embeddable: Fennel is a one-file library as well as an executable. Embed it in other programs to support runtime extensibility and interactive development. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 BLAKE2s (fennel/1.2.1.tar.gz) = 6ea5293da80dde5dcdb7a376d0c9aff318ecf45dbad1908f9f7468864ac87308 SHA512 (fennel/1.2.1.tar.gz) = dc8c99c1708457d1d84f5755145b66e691040ac06bf218e4140e1b3eb614b41b0b7211e304f9bae51304a78c1ec82595d32cf497085fcae4805c51f245620f55 Size (fennel/1.2.1.tar.gz) = 271590 bytes @