Prebuilt WASM Binaries of tree-sitter's Language Parsers for Roo Code. Forked from https://github.com/Gregoor/tree-sitter-wasms
pnpm add tree-sitter-wasms
# or
yarn add tree-sitter-wasms
# or
npm install tree-sitter-wasms
import treeSitterRust from "tree-sitter-wasms-roo/out/tree-sitter-rust.wasm"
parser.setLanguage(treeSitterCpp);
Language |
---|
c |
c-sharp |
cpp |
go |
java |
julia |
javascript |
kotlin |
lua |
php |
python |
ruby |
rust |
swift |
typescript |
We welcome everyone to contribute! If you find a new tree-sitter parser, please create a PR. However, be aware that combining multiple parsers can be challenging. Currently, to add a new parser, it must meet ALL of the following criteria:
Important
- The parser is open-source on GitHub (not on a private GitLab).
- The parser is actively maintained.
- The version provided uses tree-sitter
0.21.x
. - The version provided includes a
tree-sitter.json
file.