Skip to content

Upgrade parsers (tree-sitter) to latest versions#60

Merged
faern merged 3 commits intomainfrom
upgrade-tree-sitter
Apr 22, 2026
Merged

Upgrade parsers (tree-sitter) to latest versions#60
faern merged 3 commits intomainfrom
upgrade-tree-sitter

Conversation

@faern
Copy link
Copy Markdown
Member

@faern faern commented Apr 21, 2026

It was a while since unicop 0.1.0 was released. Languages evolve. Unicop tries to fail gracefully, but it does get parser errors from time to time. This PR just upgrades all tree-sitter related crates to the latest versions.

As you can see, this cause one less parse error in our own example test file. This also brought down the number of parse error, results might be incorrect-warnings in our main app (https://github.com/mullvad/mullvadvpn-app/) from 1725 to 1139 (the tree-sitter-swift upgrade made the most difference!).

I want to upgrade crates in general in unicop. But I wanted to isolate parser related stuff to its own PR.

@faern faern requested a review from gregoire-mullvad April 21, 2026 07:55
Updates parsers = more accurate parsing
@faern faern force-pushed the upgrade-tree-sitter branch from cd6b4fb to 8fcc5c2 Compare April 21, 2026 08:46
Comment thread example-files/README.md
@faern faern force-pushed the upgrade-tree-sitter branch 3 times, most recently from 4640304 to e30d5a8 Compare April 22, 2026 08:40
Comment thread .github/workflows/build-and-test.yml Outdated
Comment thread CHANGELOG.md
@faern faern force-pushed the upgrade-tree-sitter branch from e30d5a8 to 029e457 Compare April 22, 2026 09:31
@faern faern merged commit 09cbf2e into main Apr 22, 2026
13 checks passed
@faern faern deleted the upgrade-tree-sitter branch April 22, 2026 09:38
@faern faern mentioned this pull request Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants