Fluent grammar for tree-sitter.
Modify the grammar by editing grammar.js
. Recreate the generated files in src
via
npm run build
npm test
Read the documentation on tree-sitter for an introduction to the grammar and the DSL to generate it.
There are extensions to the DSL in grammar.js in dsl
, to make the grammar more expressive and human readable.