ludic/examples
Orkuncakilkaya f87964c5f7 Phase 4b: enum types name magic-int value spaces
enum Name { A, B, C } declares named int constants; Enum.Variant is a
compile-time int (index by declaration order), usable in match patterns,
comparisons, setreg. New: parse_enum + dispatch, enum_ordinal resolver
(emit_core), Enum.Variant handling (emit_expr). Scoped to a naming layer over
int (no enum-typed variables), so register/save semantics are untouched.

combat.ludic battle menus dispatch on KnightAct/MageAct instead of 0..3;
chronorift golden byte-identical. Editor vocab (ludic_syntax.h, JetBrains,
TextMate, emacs) gained enum, dropped retired edge/export/pure decl keywords;
check-vocabulary + test-tools 28/0. when/if kept by choice; bitwise stays
functions. Reseeded, fixpoint holds, test.sh 14/14.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-27 16:29:02 +03:00
..
chronorift Phase 4b: enum types name magic-int value spaces 2026-08-27 16:29:02 +03:00
lib Phase 3d: declaration modifiers become @annotations (Rule A) 2026-08-27 16:16:16 +03:00
chronorift.ludic Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
hello.ludic Phase 3a: spawn/record initializers use ':' (Rule A) 2026-08-27 15:58:00 +03:00
menu.ludic Phase 3b+3c: ui props use ':'; drop dead needs/uses synonyms (Rule A) 2026-08-27 16:03:35 +03:00
qdecl.ludic Phase 3a: spawn/record initializers use ':' (Rule A) 2026-08-27 15:58:00 +03:00
scenes.ludic Phase 2: enforce statement separators (Rule B) 2026-08-27 15:41:29 +03:00
snake.ludic Phase 3a: spawn/record initializers use ':' (Rule A) 2026-08-27 15:58:00 +03:00