Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-sitter-kriol

Tree-sitter grammar for KriolLang.

Development

npm install
npm run generate
npm test

Build an optional browser/WASM parser:

npm run build:wasm

This writes tree-sitter-kriol.wasm in the repository root. The command requires Emscripten, Docker, or Podman, as described by the tree-sitter CLI.

Generated artifacts

Regenerate parser artifacts after changing grammar.js:

npm run generate

The 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.

About

Tree Sitter Implementation for the Kriol Programming Language

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages