tree-sitter-pkm

0.4.5 • Public • Published

tree-sitter-quick_check

A grammar to test your Tree-sitter development workflow

It does work with node 11.10, but not with 12.x at the moment.

**

After checkout run npm install.

For Windows-users, run the windows scripts.

The most important files are the following ones:

  • grammar.js defines the grammar
  • corpus/xyt.txtt contains tests against the generated parser.

To run the tests, run the test-script.

At the moment, the two tests on timespans fail: it is quite hard to come up with a way to parse them correctly and not interpret them as another symbol defined in the grammar (in this case an object-reference).

node 12.xx

It works with node 12.x when installing tree-sitter-cli globally: npm install -g tree-sitter-cli npm install --> may lead to error when rebuilding node-gyp, it worked nonetheless ./node_modules/.bin/node-gyp configure run the build-windows script

Readme

Keywords

none

Package Sidebar

Install

npm i tree-sitter-pkm

Weekly Downloads

2

Version

0.4.5

License

MIT

Unpacked Size

187 kB

Total Files

13

Last publish

Collaborators

  • aggharta