Open novusnota opened 8 months ago
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 function/struct/message
to its empty *_body
node, maybe I should open an issue?
I also found some problems with the parser during development, it will parse the comment node in function/struct/message to its empty *_body node, maybe I should open an issue?
Please do, I'll take a look!
So publishing to the registry(npm, crates) Is this still in the planning stages?
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:
npm i
) and then simply execute npm run build-wasm
This can be done using
tree-sitter-cli
itself:Examples in the docs: https://tree-sitter.github.io/tree-sitter/creating-parsers#command-build