Archived
This repository has been archived on 2026-08-20 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
e23319fe0b650b57294a0de0292f858d0b42743e
fn(params) -> RetType { body } is now valid in expression position.
The parser produces a Lambda AST node. codegen-js emits a hoisted
JS function declaration with a generated name (__lambda_N) and returns
the name as the expression value, so inline callbacks compose cleanly:
dom_listen(btn, "click", fn(event: Any) -> Void { handle(event) })
emits:
function __lambda_1(event) { handle(event); }
dom_listen(btn, "click", __lambda_1);
The hoisted-declaration strategy is debuggable, has no closure-capture
issues, and requires no string-buffer mode in the codegen.
Description
The Engram programming language — types as knowledge nodes, quantum-sealed prod target
216 MiB
Releases
5
El SDK (latest)
Latest
Languages
Emacs Lisp
94.7%
C
4.2%
Shell
0.3%
HTML
0.2%
Python
0.2%
Other
0.2%