Tree-sitter grammar for KriolLang.
npm install
npm run generate
npm testBuild an optional browser/WASM parser:
npm run build:wasmThis writes tree-sitter-kriol.wasm in the repository root. The command
requires Emscripten, Docker, or Podman, as described by the tree-sitter CLI.
Regenerate parser artifacts after changing grammar.js:
npm run generateThe generated src/parser.c, src/grammar.json, and src/node-types.json
should be committed with grammar changes. The repository does not maintain a
TextMate grammar; downstream editors and sites should keep any non-tree-sitter
highlighters in their own repositories.