-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add convenience WASM builds and publish to npm #12
Comments
We'd also need to publish a Rust package with auto-generated bindings to tree-sitter-tact on crates.io. That's a requirement for adding Tree-sitter-enabled support for Tact on Github, see: https://github.com/github/code-navigation#tree-sitter-parser Of course, all that needs to be done after Tact gets into Linguist. |
Any update here? I made a prettier plugin for tact by installing the GitHub repo as a dependency package but I think it needs to install tree-sitter-tact as its peer deps which should be from the npm package if published to npm. So publishing to the registry(npm, crates) Is this still in the planning stages? BTW I also found some problems with the parser during development, it will parse the comment node in |
Please do, I'll take a look!
Yes, it is. However, local builds with either Docker or Emscripten are quite easy to do. If you go the second route, those are the steps:
|
This can be done using
tree-sitter-cli
itself:Examples in the docs: https://tree-sitter.github.io/tree-sitter/creating-parsers#command-build
The text was updated successfully, but these errors were encountered: