-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update scala treesitter #659
Merged
Wilfred
merged 128 commits into
Wilfred:master
from
hugo-vrijswijk:update-scala-treesitter
Jul 23, 2024
Merged
update scala treesitter #659
Wilfred
merged 128 commits into
Wilfred:master
from
hugo-vrijswijk:update-scala-treesitter
Jul 23, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chore: generate and sync latest changes
chore: generate and sync latest changes
Add support for Type Lambdas
chore: generate and sync latest changes
Old test used to pass due to `lua-match` predicates not being run with `tree-sitter` command
Use match? instead of lua-match? for queries
Add "conditional" to `case` in `indented_cases`
…olation fix: handle interpolations without spaces and $$ in interpolated strings
Problem ------- Scala 2 macro definition is not supported. Solution -------- This adds macro_body as an expression.
chore: generate and sync latest changes
Scala 2 macros
chore: generate and sync latest changes
Update tree-sitter to 0.21.0
chore: generate and sync latest changes
Fix GitHub Actions
hugo-vrijswijk
force-pushed
the
update-scala-treesitter
branch
from
March 25, 2024 10:06
bb262b9
to
d0c9e1d
Compare
hugo-vrijswijk
force-pushed
the
update-scala-treesitter
branch
from
April 5, 2024 12:34
8adbea9
to
13ba4ed
Compare
**Problem** Currently operator_identifier includes characters like colon at and equal even though they cannot be a legal operator without backticks. Having equal etc pushes tree-sitter into thinking some construct to be an infix operation when they are `=`. Another compilication is Unicode Math symbols, which includes equal sign. **Solution** Remove colon, at, equal sign, and Math symbols from the single-char operator_identifier. This adds back back a few Math symbol unicodes.
Exclude colon, at, and equal from single opchar
chore: generate and sync latest changes
Update tree-sitter to 0.22.6
chore: generate and sync latest changes
**Problem** We currently use scala/scala and scala/scala3 to run the smoke test, but the versions are slightly older. **Solution** 1. This bumps the versions to latest. Thankfully not much regression on the percentage. 2. This also adds lila for testing.
Bump smoke test targets
**Problem/Solution** I noticed that corpus tests weren't running. Apparently tree-sitter 0.22.0 moved the directory -https://github.com/tree-sitter/tree-sitter/releases/tag/v0.22.0
Move corpus
refactor(scanner): use new array header for stack
# Conflicts: # vendored_parsers/tree-sitter-scala/queries/scala/highlights.scm
hugo-vrijswijk
force-pushed
the
update-scala-treesitter
branch
from
July 23, 2024 10:49
e89e21b
to
20db428
Compare
@Wilfred could you have a look at this? :) |
Looks good, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.