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 to tree-sitter 0.21 #1486

Closed
rien opened this issue Apr 24, 2024 · 0 comments · Fixed by #1541
Closed

Update to tree-sitter 0.21 #1486

rien opened this issue Apr 24, 2024 · 0 comments · Fixed by #1541
Labels
Dolos library enhancement New feature or request

Comments

@rien
Copy link
Member

rien commented Apr 24, 2024

The new tree-sitter 0.21 updated to the newer NAPI api for native modules, which is incompatible with the older API, fortunately someone has created a compatibility layer (https://github.com/segevfiner/node-tree-sitter-compat) so both API's can be used simultaneously.

In order to update to tree-sitter 0.21 we should either:

  • Check if we can easily update the old parsers ourselves (creating a temporary fork and upstreaming)
  • Check if we can use the compatibility layer if the above is not possible
  • Wait until all our parsers have updated themselves

Which of our parsers have not yet updated to 0.21:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dolos library enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant