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.
beb2a8c5bddd6b8f3a9fc4a91ccd1a55f4b882c8
try { ... } catch (name: Type) { ... } is now a first-class El statement.
Lexer: `try` and `catch` are now keywords (Try, Catch token kinds).
Parser: TryCatch AST node with try_body, catch_name, catch_body.
codegen-js: emits try { ... } catch (name) { ... } directly -- correct
for all browser error handling patterns.
codegen.el (C backend): emits the try body with a comment; exception
handling is a no-op since C has no analogous mechanism. Programs using
try/catch should compile with --target=js.
The catch variable type annotation is parsed and skipped (same treatment
as all other type annotations in El).
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%