ludic/selfhost/backend
Orkuncakilkaya 57b66bdf47 feat(lang): L4 type checker between parse and emit
selfhost/check/ walks every function, the entry, tests, globals' initializers and
@On listeners with real scopes, and refuses mixed number kinds, text and numbers,
two record types, mismatched slices and fn types, wrong argument counts, wrong
returns and wrong push elements - every mix-up at once, each at its line.
LUDIC_CHECK_REPORT=1 lists them by category. pointer stays untyped (L7's).

What it found is fixed: render3d's HDR scan calling the float-bits extern f_lt
with floats; ludic.shooter's right-stick aim overflowing past half a push;
prof.ludic storing longs in []int; extern arguments now coerced to their
parameters. Text-returning runtime functions say string; Assets.ready says bool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 01:34:49 +03:00
..
game feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
stdlib feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
emit_addr.ludic feat(compiler): a slice index is checked against its length 2026-09-22 20:54:12 +03:00
emit_call.ludic feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
emit_core.ludic feat(lang): a name is defined once, a local once per block, and a result is always returned 2026-09-23 23:55:20 +03:00
emit_decl.ludic feat(lang): a name is defined once, a local once per block, and a result is always returned 2026-09-23 23:55:20 +03:00
emit_expr.ludic feat(lang): functions are values (L2), and render3d takes its scene as callbacks 2026-09-24 00:27:26 +03:00
emit_float.ludic feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
emit_fnval.ludic feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
emit_head.ludic carry: the runtime and render3d work Maroon Lake builds against 2026-09-23 15:55:02 +03:00
emit_intrin.ludic feat(windows): a Windows target for ludicc, and the compiler builds itself there 2026-09-13 01:59:41 +03:00
emit_intrin2.ludic carry: the runtime and render3d work Maroon Lake builds against 2026-09-23 15:55:02 +03:00
emit_mem.ludic refactor(selfhost): reorganise into concern-based subdirectories 2026-08-31 00:26:02 +03:00
emit_new.ludic feat(lang): L3 module scope - module, export, friend module 2026-09-24 00:52:12 +03:00
emit_stmt.ludic feat(lang): L4 type checker between parse and emit 2026-09-24 01:34:49 +03:00
emit_vis.ludic feat(lang): L3 module scope - module, export, friend module 2026-09-24 00:52:12 +03:00