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.
1eef9928f4ba83c1ffddb073aff89c5af6fd3c89
Combines two orthogonal optimizations: 1. Flat token list (from beta): lex() returns [Any] with alternating kind/value pairs instead of [Map], eliminating one ElMap per token (~3 mallocs each). Parser updated: tok_kind(t,i) = t[2*i], tok_value(t,i) = t[2*i+1]. 2. Char code dispatch (from alpha): lex() hot loop uses str_char_code -> Int instead of str_char_at -> strdup String for all character classification. Eliminates ~400K x 16B = 6.4MB of temporary string allocations. scan_digits and scan_ident also updated to use str_char_code. Result on main.el: 17.1MB -> 14.4MB peak RSS (-16%). Self-hosting: PASS.
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%