Skip to content

rust bindings: Add information about using WASM grammar files to README#4235

Merged
maxbrunsfeld merged 1 commit intotree-sitter:masterfrom
lucifayr:master
Mar 6, 2025
Merged

rust bindings: Add information about using WASM grammar files to README#4235
maxbrunsfeld merged 1 commit intotree-sitter:masterfrom
lucifayr:master

Conversation

@lucifayr
Copy link
Contributor

Hi, I recently needed to load languages from WASM files with the rust bindings, and I had a bit of a hard time figuring out some of the details/intricacies from the documentation that I could find.

This PR adds a basic example of how to load a WASM language with the rust bindings to the README so it is easier to find for new users of the library.

I did my best to follow the writing style of the existing READMEs in bindings_rust and bindings_web, but in case I am missing any important context and/or there are issues here that I am not aware of, please let me know.

Copy link
Contributor

@maxbrunsfeld maxbrunsfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thanks for writing it up.

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