1.5.3 • Published 23 days ago
@unit-mesh/treesitter-artifacts v1.5.3
treesitter-artifacts
Wasm build package
REQUIREMENTS
Follow https://tree-sitter.github.io/tree-sitter/contributing#building
To make changes to Tree-sitter, you should have:
- A C compiler, for compiling the core library and the generated parsers.
- A Rust toolchain, for compiling the Rust bindings, the highlighting library, and the CLI.
- Node.js and NPM, for generating parsers from
grammar.js
files. - Either Emscripten, Docker, or podman for compiling the library to WASM.
macOS
- install emcc
brew install emscripten
- run build
pnpm build
HOW TO BUILD
pnpm i
pnpm build