mirror of https://github.com/Wilfred/difftastic/
Problem ------- Currently singleton types are treated as `stable_type_identifier`. Solution -------- This adds `singleton_type`. |
||
|---|---|---|
| .github/workflows | ||
| bindings | ||
| corpus | ||
| examples | ||
| queries | ||
| script | ||
| src | ||
| test | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .npmignore | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| binding.gyp | ||
| default.nix | ||
| grammar.js | ||
| package.json | ||
README.md
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