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.
0a0a2bcb4485ec9f85c2ed3ddde0e40f8f66935e
El SDK Release / build-and-release (pull_request) Failing after 16s
Out-of-range tok_kind/tok_value reads returned runtime null (el_list_get OOB -> 0) rather than the Eof sentinel, so the inner parse loops (parse_block, call-arg, array-literal, match-arm) that terminate only on their close delimiter or k=="Eof" never saw Eof once the cursor ran past the single trailing Eof token. On unclosed-delimiter input the parser then appended AST nodes forever -> unbounded allocation -> ~700GB -> OOM (observed compiling neuron/sessions.el). Fix at the choke point: tok_kind returns "Eof" and tok_value returns "" for out-of-range positions, restoring the parser-wide contract that reads at/after the end yield Eof. expect() no longer steps past the Eof sentinel on mismatch. This terminates every overrun loop simultaneously; a malformed program now surfaces as a normal (best-effort) parse end instead of exhausting memory. Requires a self-hosted bootstrap rebuild of elc to take effect.
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%