ludic/selfhost
Orkuncakilkaya 920d476a15 Phase 6a: remove the redundant when and enter keywords
Cohesion audit found two keywords that are pure duplicates:
  - `when c { }` produced a byte-identical S_IF to an else-less `if c { }`
    (no distinguishing flag) — so it was a second spelling of the same node.
  - `enter Name` produced identical codegen to `become Name`: it set an
    `ival` flag that emit_become never reads.

Both removed from the parser. `if` already parses with an optional `else`, so
nothing is lost. examples/scenes.ludic (an uncompiled design sketch) and the
LANGUAGE.md scenes section now use `become Name` for scene transitions.

Vocabulary synced (ludic_syntax.h, TextMate grammar, LudicTokens.kt);
check-vocabulary clean. Reseeded (22148 lines); C-free fixpoint holds;
goldens identical; 17/17.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-27 23:14:32 +03:00
..
golden Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
tests Phase 6a: rename core vocabulary (game/main/component/archetype/system) 2026-08-27 18:22:13 +03:00
ast.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
bootstrap-cfree.sh Phase 6a: rename core vocabulary (game/main/component/archetype/system) 2026-08-27 18:22:13 +03:00
bootstrap.sh Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
buf.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
build.sh Phase 6a: rename core vocabulary (game/main/component/archetype/system) 2026-08-27 18:22:13 +03:00
compile.sh Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
emit_addr.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_core.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
emit_decl.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_ecs.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
emit_expr.ludic Scriptable properties (ECS-safe subset): @Computed and @OnSpawn 2026-08-27 21:01:32 +03:00
emit_game.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
emit_head.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_intrin.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_intrin2.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_machine.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_math.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_new.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_query.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
emit_save.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
emit_spawn.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
emit_stmt.ludic Add enable/disable across ECS scopes + @OnEnable/@OnDisable hooks 2026-08-27 23:05:47 +03:00
emit_ui.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
game-build.sh Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
io.ludic Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
lex.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
ludicc.seed.ll Phase 6a: remove the redundant when and enter keywords 2026-08-27 23:14:32 +03:00
main.ludic Phase 6a: rename core vocabulary (game/main/component/archetype/system) 2026-08-27 18:22:13 +03:00
parse.ludic Phase 6a: remove the redundant when and enter keywords 2026-08-27 23:14:32 +03:00
parse_game.ludic Scriptable properties (ECS-safe subset): @Computed and @OnSpawn 2026-08-27 21:01:32 +03:00
reseed.sh Phase 6a: rename core vocabulary (game/main/component/archetype/system) 2026-08-27 18:22:13 +03:00
str.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
test.sh Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00