Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete

Self-hosted compiler (selfhost/*.ludic), runtime, examples, editor tooling,
and docs. Phase 1 of the syntax-redesign cohesion pass has landed:
edge-system fix, signature-query, when-alias, and the documentation truth-pass.
Suite green (14/14), C-free bootstrap fixpoint holds.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-08-27 15:15:35 +03:00
commit 985f9ad8f2
418 changed files with 39065 additions and 0 deletions

View file

@ -0,0 +1,35 @@
# Ludic for Sublime Text
Sublime reads TextMate grammars directly, so the shared grammar works as-is.
1. **Highlighting.** Copy `tools/editors/shared/ludic.tmLanguage.json` into your
`Packages/User/` directory, renamed to `Ludic.tmLanguage.json`. Sublime picks
up `.ludic` from the grammar's `fileTypes`.
2. **Markdown fences.** Copy
`tools/editors/shared/ludic.markdown-injection.json` alongside it as
`Ludic Markdown.tmLanguage.json`. Sublime honours `injectionSelector`, so
` ```ludic ` blocks in Markdown are highlighted with no further setup.
3. **Everything else** comes from the language server. Install
[LSP](https://packagecontrol.io/packages/LSP), then add to
`Preferences -> Package Settings -> LSP -> Settings`:
```json
{
"clients": {
"ludic": {
"enabled": true,
"command": ["/path/to/gpp/build/ludic-lsp", "--stdio"],
"selector": "source.ludic | text.html.markdown",
"initializationOptions": {
"compilerPath": "/path/to/gpp/build/ludicc",
"compilerDiagnostics": true,
"indentSize": 2
}
}
}
}
```
Format on save with `LSP-format-on-save`, or bind `lsp_format_document`.