tree-sitter-lateralus
v0.1.2
Published
Tree-sitter grammar for the Lateralus systems language
Downloads
334
Maintainers
Readme
tree-sitter-lateralus
Tree-sitter grammar for the Lateralus systems language (.ltl).
Editor support
This grammar is consumed by:
- Neovim via
nvim-treesitter - Helix (drop into
runtime/grammars/) - Zed (
extensions/lateralus) - Emacs via
tree-sitter-langs - GitHub (potential future inclusion via
github-linguist/linguist) - CLI parsing via the
tree-sitterbinary
Build
npm install
npx tree-sitter generate
npx tree-sitter testFiles
| Path | Purpose |
|---|---|
| grammar.js | The grammar definition |
| queries/highlights.scm | Syntax-highlighting query |
| queries/folds.scm | Code-fold ranges |
| queries/locals.scm | Local-scope analysis |
Companion projects
- lateralus-lang — reference compiler
- VS Code extension — uses TextMate grammar from
lateralus-grammar lateralus-grammar(npm) — TextMate grammar
License
MIT © bad-antics
