Merge lang/foundations (9391695) into lang/editortools: no conflicts, selfhost/ identical to lang/foundations (the seeds unchanged; bootstrap-cfree fixpoint holds at 289532 lines), the help lists R10's --stdin-file, R8's syntax and R9's fmt / remove lines together
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
50333571d7
76 changed files with 96896 additions and 89729 deletions
11
LANGUAGE.md
11
LANGUAGE.md
|
|
@ -2325,6 +2325,7 @@ ludic build --check # every check a build makes, nothing wr
|
|||
ludic build --check --diagnostics=json # the same, every error as a JSON array on stdout
|
||||
ludic build --check --diagnostics=json --stdin-file src/a.ludic < buf # stdin in place of src/a.ludic
|
||||
ludic schema -o build/schema.json # records, registries, entries, consts, components and natives, for editors
|
||||
ludic syntax --json # the language's vocabulary: keywords, declarations, types, phases, attributes, operators
|
||||
ludic deps # how tangled the modules are, as the compiler resolved them
|
||||
ludic deps --check tests/deps-baseline.txt # fail when a number rose (--baseline FILE writes them)
|
||||
|
||||
|
|
@ -2473,6 +2474,16 @@ Plugins for VS Code and JetBrains IDEs, plus configuration for Neovim, Helix,
|
|||
Emacs, Sublime and Zed, are in `tools/editors/` — see
|
||||
[tools/editors/README.md](tools/editors/README.md).
|
||||
|
||||
The vocabulary every editor highlights with is the compiler's: `ludic syntax
|
||||
--json` (`ludicc --emit-syntax`) prints every keyword with its role and whether
|
||||
the parser reserves it, every declaration's form, the built-in types and phases,
|
||||
every attribute with what it goes on, its arguments and what it means, the
|
||||
operators and the literal forms. The grammars in `tools/editors/`, the language
|
||||
server's word lists and `ludic_syntax.h` are written from it between marked lines
|
||||
(`bin/ludic-dev syntax`), and `bin/ludic-dev syntax --check` fails when one falls
|
||||
behind, when docs/language lacks a page for an entry, or when the parser tests a
|
||||
word the vocabulary does not have.
|
||||
|
||||
## Working programs
|
||||
|
||||
- `examples/games/chronorift.ludic` — a co-op JRPG (overworld, dungeon, boss, shop,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue