ludic/selfhost/tests
Orkuncakilkaya 4c48077d68 refactor(lang): rename the fn keyword to function
Expand the function-declaration keyword to the full word across the whole
language and toolchain:
  fn name(...) -> T { ... }   ->   function name(...) -> T { ... }

Done as a self-hosting migration: teach the parser both spellings, reseed,
rewrite every .ludic definition to `function`, then drop `fn`. The compiler
now rejects `fn`. Touches the parser, all selfhost/tools/runtime/example/test
sources, the grammars (TextMate shared+vscode, ludic_syntax.h, JetBrains
LudicTokens.kt), the LSP and formatter, the Python doc/vocab tools
(check-impl, check-docs, validate, palette, test-lsp), and the docs
(fences, prose, kw-fn -> kw-function).

Reseeded; C-free bootstrap fixpoint holds. All suites green (45 regression,
24 self-host, 29 tool); the docs site generates and check.py passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-30 01:43:22 +03:00
..
color.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
control.ludic refactor(lang): rename the fn keyword to function 2026-08-30 01:43:22 +03:00
easecollide.ludic refactor(stdlib): de-abbreviate namespaces (Mem/Sys/Net/Collide) 2026-08-30 01:30:47 +03:00
fixed.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
hash.ludic feat(lang,stdlib): 64-bit long type + 64-bit Hash variants (issue #17) 2026-08-30 01:01:06 +03:00
long.ludic refactor(lang): rename the fn keyword to function 2026-08-30 01:43:22 +03:00
match_bits.ludic refactor(lang): rename the fn keyword to function 2026-08-30 01:43:22 +03:00
math.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
math2.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
math3.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
memsys.ludic refactor(stdlib): de-abbreviate namespaces (Mem/Sys/Net/Collide) 2026-08-30 01:30:47 +03:00
slices.ludic Phase 7e: polymorphic print(x) + str(x) (retire print_int/print_str) 2026-08-28 01:22:38 +03:00
structs.ludic refactor(lang): rename the fn keyword to function 2026-08-30 01:43:22 +03:00
textlist.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
textlist2.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
textsplit.ludic feat(stdlib): namespaced standard library (issue #2) 2026-08-30 00:26:19 +03:00
transcend.ludic feat(stdlib): Math.exp/log/pow + Ease.elastic transcendentals (issue #25) 2026-08-30 01:19:44 +03:00