difftastic/vendor/tree-sitter-scala
Hugo van Rijswijk c2ec55f46a Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c'
git-subtree-dir: vendor/tree-sitter-scala
git-subtree-mainline: 2256c2f9f5
git-subtree-split: 0a3dd53a7f
2022-01-18 11:37:22 +07:00
..
.github/workflows Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
bindings Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
corpus Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
examples Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
script Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
src Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
.gitattributes Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
.gitignore Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
.npmignore Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
Cargo.toml Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
LICENSE Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
README.md Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
binding.gyp Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
grammar.js Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
package.json Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00

README.md

tree-sitter-scala

Test the grammar

Scala grammar for tree-sitter.

References

Development

First, 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