mirror of https://github.com/Wilfred/difftastic/
1016 B
1016 B
tree-sitter-scala
Scala grammar for tree-sitter.
References
Development
Requirements:
- Node.js version 6.0 or greater
- C Compiler
Refer to the tree-sitter documentation for more details. If you use nix you can enter a nix-shell (nix-shell .) which will install them for you.
Then, install the project's dependencies:
npm install
Add a test case to ./corpus, make the required changes to grammar.js,
regenerate and recompile the parser, and run the tests:
npm run build
npm test