Skip to content
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 tree-sitter parsers to 0.21 or use compat layer #1541

Merged
merged 10 commits into from
May 31, 2024
Merged

Conversation

rien
Copy link
Member

@rien rien commented May 31, 2024

This PR updates most parsers to make use of the tree-sitter 0.21 update which uses the node-addon-api for native bindings instead of nan.

For parsers which have not updated yet, we use https://github.com/segevfiner/node-tree-sitter-compat which converts the language binding.

Notable submodule changes:

Closes #1486

@rien rien added the chore label May 31, 2024
@rien rien marked this pull request as ready for review May 31, 2024 11:09
@rien rien merged commit 06c1385 into main May 31, 2024
26 checks passed
@rien rien deleted the chore/tree-sitter-21 branch May 31, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to tree-sitter 0.21
1 participant