ludic/examples
Orkuncakilkaya a3a1e4d160 Language: named colors, namespaced Screen/Input/Random/Map API, named args
An opinionated, game-facing surface for the language:
- Color.<Name>: 221 named colors resolved to 0xRRGGBB at compile time
  (selfhost/emit_color.ludic).
- Namespaced builtins Screen.* / Input.key / Random.* / Map.*, so calls read as
  subject.action; present() -> Screen.show(), clear -> Screen.clear,
  fill_rect -> Screen.fill_rectangle, etc.
- Named arguments, e.g. Screen.fill_rectangle(x:, y:, width:, height:, color:),
  reordered to the callee's parameters at emit time.
- machine/become can run over a named program-scope var, not just a register.
- Migrate examples off numeric registers to named vars; snake/menu/chronorift
  render byte-identical to the goldens and the bootstrap fixpoint is preserved.
- Regenerate the checked-in seed (selfhost/ludicc.seed.ll).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-29 16:05:55 +03:00
..
chronorift Language: named colors, namespaced Screen/Input/Random/Map API, named args 2026-08-29 16:05:55 +03:00
lib Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
annotations.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
cancel.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
chronorift.ludic Phase 6a: rename core vocabulary (game/main/component/archetype/system) 2026-08-27 18:22:13 +03:00
detach.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
events.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
hello.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
layer_events.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
lifecycle.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
menu.ludic Language: named colors, namespaced Screen/Input/Random/Map API, named args 2026-08-29 16:05:55 +03:00
mod_events.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_demo.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_echo.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_owner.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_roles.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_rpc.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_rt.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_snapshot.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
net_sync.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
program_events.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
promote.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
prop_events.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
qdecl.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
reason.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
recurse.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
scene_events.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
scenes.ludic Language: named colors, namespaced Screen/Input/Random/Map API, named args 2026-08-29 16:05:55 +03:00
scoped.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
snake.ludic Language: named colors, namespaced Screen/Input/Random/Map API, named args 2026-08-29 16:05:55 +03:00
strings.ludic Phase 7h: string slicing s[a..b] (retire substr) 2026-08-28 01:35:24 +03:00
toggle.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
world_dyn.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
world_get.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
world_mixed.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
world_query.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
world_scan.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00
world_spawn.ludic Networking N2–N6, and a fully C-free toolchain 2026-08-29 15:08:23 +03:00