prebuild treesitter wasm binaries for everyone
npm install @unit-mesh/treesitter-artifactsWasm build package for https://github.com/unit-mesh/auto-dev-vscode
Online Testings
Follow https://tree-sitter.github.io/tree-sitter/contributing#building
To make changes to Tree-sitter, you should have:
1. A C compiler, for compiling the core library and the generated parsers.
2. A Rust toolchain, for compiling the Rust bindings, the highlighting library, and the CLI.
3. Node.js and NPM, for generating parsers from grammar.js files.
4. Either Emscripten, Docker, or podman for compiling the library to WASM.
1. install emcc
``bash`
brew install emscripten
2. run build
``
pnpm build
`console``
pnpm i
pnpm build
Build script based on: tree-sitter-wasms with MIT LICENSE.
This project is licensed under the MIT License - see the LICENSE file for details.