https://github.com/unit-mesh/treesitter-artifacts
The TreeSitter binary for AutoDev
https://github.com/unit-mesh/treesitter-artifacts
ast language-processing
Last synced: 7 months ago
JSON representation
The TreeSitter binary for AutoDev
- Host: GitHub
- URL: https://github.com/unit-mesh/treesitter-artifacts
- Owner: unit-mesh
- Created: 2023-04-25T02:07:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-20T03:28:13.000Z (9 months ago)
- Last Synced: 2025-07-09T05:02:33.112Z (8 months ago)
- Topics: ast, language-processing
- Language: JavaScript
- Homepage: https://unit-mesh.github.io/treesitter-artifacts/
- Size: 3.83 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TreeSitter Artifacts
Wasm build package for [https://github.com/unit-mesh/auto-dev-vscode](https://github.com/unit-mesh/auto-dev-vscode)
Online Testings
## REQUIREMENTS
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](https://rustup.rs/), 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](https://emscripten.org/), [Docker](https://www.docker.com/), or [podman](https://podman.io/) for compiling the library to WASM.
### macOS
1. install emcc
```
brew install emscripten
```
2. run build
```
pnpm build
```
## HOW TO BUILD
```console
pnpm i
pnpm build
```
## LISENSE
Build script based on: [tree-sitter-wasms](https://github.com/Gregoor/tree-sitter-wasms) with MIT LICENSE.
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.