README
tree-sitter-ekon
EKON grammar for tree-sitter
Get started
Installation
git clone https://github.com/ekon-org/tree-sitter-ekon
cd tree-sitter-ekon
npm i # pnpm i
To generate C parser files:
npm run build # pnpm build
Development
If you are developing, use the excellent nodemon. In the root directory, simply:
nodemon
or
npm run start # pnpm start
Testing
To create tests, create a *.txt
file in test/corpus folder. Refer to
tree-sitter test
to know how to write tests
Highlighting tests:
Contribution
The grammar is easy to understand. Have a look at creating-parsers for more information.
Contribute on the master branch itself if you think this grammar doesn't support anything specific