0.20.1
See also https://eed3si9n.com/tree-sitter-scala-0.20.1
Rust and Swift bindings
tree-sitter-scala 0.20.1 is published to crates.io, as well as 0.20.0, which was back published. This allows easier consumption of the parser using Rust.
Swift bindings and Swift Package Manager (SPM) support were contributed by @mattmassicotte in #234
enhancements
- Scala 3:
derives
clause for classes and objects by @susliko in #222 - Scala 3:
using
in method call arguments by @susliko in #235 - Scala 3:
match
type by @eed3si9n in #244 - Scala 3: Self-types in braceless trait definitions by @susliko in #250
- By-name class parameters by @susliko in #249
val
definition with multiple left-hand-side identifiers by @eed3si9n in #254 and by @susliko in #292- Structural type (refinement) by @eed3si9n in #266
- Top-level expressions by @susliko in #271
- Enables parser on
*.sbt
files by @ghostbuster91 in #210 - Support Scala CLI
using
directives by @susliko in #273 - Adds block comments to the comment highlighting query by @domaspoliakas in #282
- Repeat pattern
*
by @eed3si9n in #281
bug fixes
- Fixes
case
clauses with guards by @susliko in #221 - Fixes
import
of symbolic identifiers by @eed3si9n in #241 - Fixes handling of multi-line string whose last character is a quote by @susliko in #239
- Fixes Scala 3
catch
clause by @susliko in #245 - Fixes type bounds by @susliko in #247
- Fixes handling of nested block comments by @susliko in #251
- Fixes Scala 3 annotations on
enums
by @susliko in #248 - Fixes soft keywords not recognized as identifiers by @susliko in #237
- Fixes closing paren/bracket not being able to outdent by @eed3si9n in #279
- Fixes structural type in
extends
by @eed3si9n in #285 - Fixes multi-line parameter lists by @susliko in #295
behind the scene
- Fixes smoke test by @eed3si9n in #240
- Adds complexity check to smoke_test.sh by @sideeffffect in #231
smoke_test.sh
: attribute the definition complexity to proper line by @sideeffffect in #232- Use Scala 3.3.0 for smoke test by @eed3si9n in #267
- Fixes typo in Cargo.toml by @eed3si9n in #280
- Uses Prettier to automatically format JavaScript file by @eed3si9n in #278
- Fixes C code fidelity check by @eed3si9n in #288
- Refactors
$.compilation_unit
, optimize grammar by @susliko in #269 - Reworks lambda expression (The Gordian Knot) by @susliko in #277
new contributors
- @sideeffffect made their first contribution in #231
- @mattmassicotte made their first contribution in #234
- @domaspoliakas made their first contribution in #282
Full Changelog: v0.20.0...v0.20.1