tree-sitter-kcl

February 15, 2025 ยท View on GitHub

FOSSA Status

A tree-sitter grammar for KCL. Please note that the project is still under development.

Developing

See here to install tree-sitter-cli

or install npm and run the following command to install

npm install

Building

Change the grammar in ./grammar.js and run the build command

tree-sitter g

Testing

Add test suites in ./test/corpus/ or ./test/highlight/ and run the test command

tree-sitter t -u

Reference

  • KCL Grammar

License

FOSSA Status

Contents

  1. 1Developing
  2. 1.1Building
  3. 1.2Testing
  4. 2Reference
  5. 3License