ludic/tools/ludic-tools
Orkuncakilkaya 9585405dc0 Phase 5: anchor the editor vocabulary to the compiler
check-vocabulary.py now extracts the keywords selfhost/parse*.ludic actually
dispatches on and requires the header's declaration/clause keywords to be a
subset (LUDIC_KW_RESERVED exempts documented-but-unimplemented scene/layer/on/
start, itself checked so an implemented reserved word must be promoted). Closes
the highlighted-but-unparsed loop against the real compiler; verified it catches
an injected bogus keyword.

Reconciled the drift it exposed across ludic_syntax.h, JetBrains, TextMate, and
emacs: dropped scene/layer/on/start (->RESERVED), the never-implemented
needs/uses/requires/ensures/invariant/effects clauses, and the retired
edge/export/pure prefixes; added enum/main. @annotations highlight generically.
Tooling-only (no seed change): test.sh 14/14, check-vocabulary + test-tools 28/0.

Phases 1-5 complete.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-27 16:35:46 +03:00
..
ludic_fmt.h Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
ludic_fmt_main.c Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
ludic_index.h Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
ludic_json.h Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
ludic_lsp.c Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
ludic_syntax.h Phase 5: anchor the editor vocabulary to the compiler 2026-08-27 16:35:46 +03:00
ludic_syntax.h.tmp Phase 5: anchor the editor vocabulary to the compiler 2026-08-27 16:35:46 +03:00
ludic_workspace.h Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
migrate_records.c Phase 3a: spawn/record initializers use ':' (Rule A) 2026-08-27 15:58:00 +03:00
migrate_separators.c Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
migrate_ui.c Phase 3b+3c: ui props use ':'; drop dead needs/uses synonyms (Rule A) 2026-08-27 16:03:35 +03:00