search term:

tree-sitter-scala 0.21.0

Hi everyone. On behalf of the tree-sitter-scala project, I am happy to announce tree-sitter-scala 0.20.3 and 0.21.0. The first two segments of the version number comes from the tree-sitter-cli that was used to generate the parser, and the last segment is our actual version number.

tree-sitter-scala 0.21.0 uses tree-sitter 0.21.x; and tree-sitter-scala 0.20.3 uses tree-sitter 0.20.x.

About tree-sitter-scala

tree-sitter-scala is a Scala parser in C language, generated using Tree-sitter CLI, and conforming to the Tree-sitter API. Tree-sitter parsers are generally fast, incremental, and robust (ok with partial errors). We publish Rust binding to crates.io.

Since its initial release in 2017, Tree-sitter parsers are adopted by editors like NeoVim, Emacs, Helix, and Atom to provide language features like syntax highlight and folding and more (supposedly part of GitHub.com).

Highlights

Full release notes are at https://github.com/tree-sitter/tree-sitter-scala/releases/tag/v0.20.3 and https://github.com/tree-sitter/tree-sitter-scala/releases/tag/v0.21.0.

Parsing improvements

Parsing % for Scala 2 library, Scala 2 compiler, and Scala 3 compiler are as follows:

tree-sitter-scala scala-library scalac Dotty
0.21.0 100% 96% 85%
0.20.2 100% 96% 84%
0.20.1 98% 93% 83%
0.20.0 89% 68% 66%

Participation

tree-sitter-scala 0.20.2 was brought to you by 5 contributors and two good bots:

$ git shortlog -sn --no-merges v0.20.2...
    11  susliko
    10  Eugene Yokota
    10  GitHub
     2  Vasili Markoukin
     1  antosha417
     1  dependabot[bot]
     1  Amaan Qureshi

Thanks to everyone who’s helped improve tree-sitter-scala by using them, reporting bugs, improving our documentation, and submitting and reviewing pull requests.


Scala Center is a non-profit center at EPFL to support education and open source.