tree-sitter-ekscript
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

tree-sitter-ekscript

A Tree-sitter grammar for EkScript

EkScript website

Get Started

Installation

git clone https://github.com/ekscript/tree-sitter-ekscript
cd tree-sitter-ekscript
npm i

To generatate C parser files:

npm run gen # pnpm build

Development

In the root directory, simply:

npm run dev

Tests

To create tests, create a *.txt file in test/corpus folder. Refer to tree-sitter test to know how to write tests

To test if the node-bindings are generated properly

npm run build
node test/corpus/test_index.js

should give you an AST

Highlighting tests

ROADMAP

  • [ ] [nvim-tree-sitter] support

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

Package Sidebar

Install

npm i tree-sitter-ekscript

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

5.55 MB

Total Files

20

Last publish

Collaborators

  • himuup