1.0.1 • Published 3 years ago

tree-sitter-ekon v1.0.1

Weekly downloads
3
License
MIT
Repository
-
Last release
3 years ago

tree-sitter-ekon

EKON grammar for tree-sitter

Ekon website

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

License

MIT