ludic/selfhost
Orkuncakilkaya 7e7f3ab297 feat(lang): L8 registries by declaration - registry and def
registry NAME of RECORD [as PREFIX] is a global table; def NAME key { ... } in
any file is one entry, collected in source order and filled before any code
runs. Each entry gets an index constant (PREFIX_KEY), the table PREFIX_COUNT,
and a record with a key field gets it filled and a NAME_find(key). A record
literal naming a field its record lacks is now an error everywhere; a global's
initializer is lowered as its own file's code (its errors, and what its module
may see, were whichever statement came last).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 13:34:51 +03:00
..
backend feat(lang): L8 registries by declaration - registry and def 2026-09-24 13:34:51 +03:00
check feat(lang): L8 registries by declaration - registry and def 2026-09-24 13:34:51 +03:00
frontend feat(lang): L8 registries by declaration - registry and def 2026-09-24 13:34:51 +03:00
golden chore(repo): DX cleanup — categorise examples, text-diffable golden, build/ output (#27 #28 #30) 2026-08-30 18:54:21 +03:00
support feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
tests fix(compiler): == / != on references is identity; only text compares by content 2026-09-16 16:13:31 +03:00
ludicc.seed.ll feat(lang): L8 registries by declaration - registry and def 2026-09-24 13:34:51 +03:00
ludicc.win.seed.ll feat(lang): L8 registries by declaration - registry and def 2026-09-24 13:34:51 +03:00
main.ludic feat(lang): L7 memory is safe unless it says unsafe 2026-09-24 12:53:27 +03:00