difftastic/vendor/tree-sitter-scala
Wilfred Hughes f04d7ec4bd Merge commit '140c96cf398693189d4e50f76d19ddfcd8a018f8' 2022-07-10 23:38:53 +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 Merge commit '140c96cf398693189d4e50f76d19ddfcd8a018f8' 2022-07-10 23:38:53 +07:00
examples Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
queries Merge commit 'ec6047f531e7d4c13787d4ff208b94a84de34165' 2022-04-17 17:04:59 +07:00
script Add 'vendor/tree-sitter-scala/' from commit '0a3dd53a7fc4b352a538397d054380aaa28be54c' 2022-01-18 11:37:22 +07:00
src Merge commit '140c96cf398693189d4e50f76d19ddfcd8a018f8' 2022-07-10 23:38:53 +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 Merge commit '140c96cf398693189d4e50f76d19ddfcd8a018f8' 2022-07-10 23:38:53 +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