a structural diff that understands syntax 🟥🟩
 
 
 
 
 
Go to file
Denis Pyshev f80daaa212
Miscallleneous stuff (#27)
* Null literal

* Unit expression, required for `for {...} ()` case

* Add `return` expression

* Add `throw` expression

* Apply changes per review

Remove redundant token fun call.
2021-07-19 13:26:02 +07:00
.github/workflows Add in support for boolean, character, and symbol literals. (#22) 2021-04-01 10:11:15 +07:00
bindings Bump tree-sitter-cli to 0.19 2021-03-04 15:02:10 +07:00
corpus Miscallleneous stuff (#27) 2021-07-19 13:26:02 +07:00
examples Improve grammar for package declarations 2018-02-24 17:19:26 +07:00
script Initial commit 2018-02-22 10:58:11 +07:00
src Miscallleneous stuff (#27) 2021-07-19 13:26:02 +07:00
.gitattributes Initial commit 2018-02-22 10:58:11 +07:00
.gitignore Allow for catch and finally in try expression to be on a new line (#16) 2021-03-12 09:41:49 +07:00
.npmignore Bump tree-sitter-cli to 0.19 2021-03-04 15:02:10 +07:00
Cargo.toml Bump tree-sitter-cli to 0.19 2021-03-04 15:02:10 +07:00
LICENSE Add MIT license 2019-08-07 11:11:36 +07:00
README.md Move from Travic to GitHub actions and update readme (#17) 2021-03-10 11:41:57 +07:00
binding.gyp Bump tree-sitter-cli to 0.19 2021-03-04 15:02:10 +07:00
grammar.js Miscallleneous stuff (#27) 2021-07-19 13:26:02 +07:00
package.json Feature/literals (#25) 2021-06-23 15:37:27 +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