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

Document requirement for static linking with Wasm #126

Open
gushogg-blake opened this issue Nov 26, 2023 · 1 comment
Open

Document requirement for static linking with Wasm #126

gushogg-blake opened this issue Nov 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@gushogg-blake
Copy link

I think #93 is caused by the fact that the custom scanner uses functions that aren't in Tree-sitter's main exports.json file (see tree-sitter/tree-sitter#949).

I've outlined a workaround here - https://edita.vercel.app/blog/tree-sitter-howto/

When I was last looking into this Max hadn't decided on an approach to fixing it so might be a good idea to include a note in the readme that it needs a workaround for now.

@gushogg-blake gushogg-blake added the enhancement New feature or request label Nov 26, 2023
@clason
Copy link
Collaborator

clason commented Nov 29, 2023

This should ideally be fixed by adding the missing symbols to tree-sitter: tree-sitter/tree-sitter#1864 (comment) (if they're critical; otherwise it's probably easier to try to rewrite the scanner without them @amaanq)

Now that WASM parsers are officially supported by tree-sitter (C library), this has become a more pressing issue.

MDeiml added a commit that referenced this issue Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants