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

Fix/update bindings #260

Merged
merged 4 commits into from
Jul 22, 2024
Merged

Fix/update bindings #260

merged 4 commits into from
Jul 22, 2024

Conversation

grpse
Copy link
Contributor

@grpse grpse commented Jun 24, 2024

Summary

trying to use inside of a node project, the binding when calling setLanguage from node tree-sitter, was throwing an error Type error: Invalid language object. This was due to the use of nan in the old binding from tree-sitter, but now it uses node-addon-api, so I've updated it. Also, for wasm build, the scanner.c uses strcpy, but it is not available symbol after compilation with new version of tree-sitter.

Makefile Outdated Show resolved Hide resolved
binding.gyp Outdated Show resolved Hide resolved
@alexbit-codemod
Copy link

thanks for working on this.... once this lands, we can integrate sql parser to ast-grep to enable automated code transformation of sql for a variety of use cases. so looking forward to it.

@grpse grpse requested a review from DerekStride July 19, 2024 13:20
@matthias-Q matthias-Q merged commit aeea734 into DerekStride:main Jul 22, 2024
4 checks passed
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.

4 participants