tree-sitter/crates/loader
WillLillis df8b62fc50 feat(xtask): bring wasi-sdk treatment up to par with the loader
The loader package's `ensure_wasi_sdk_exists` private method checks for
the wasi-sdk, fetching it if it can't be found. This logic was
re-implemented in xtask for `build-wasm-stdlib`, but without the
fetching functionality. We can have nice things in xtask too! Rather
than make this function a public member of `tree-sitter-loader`, we
just re-implement and leave a nice comment asking people to keep the
two in sync.
2025-11-27 16:06:25 -05:00
..
src feat(xtask): bring wasi-sdk treatment up to par with the loader 2025-11-27 16:06:25 -05:00
build.rs Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
Cargo.toml refactor(loader)!: transition from anyhow to thiserror 2025-11-14 11:28:00 +01:00
emscripten-version chore: upgrade emscripten to 4.0.15 2025-09-21 16:28:08 -04:00
LICENSE chore: copy license to all packages 2025-09-11 03:12:35 -04:00
README.md Reorganize rust crates into a flat crates directory, simplify some CI steps (#4496) 2025-06-06 14:25:37 -07:00
wasi-sdk-version feat(xtask): bring wasi-sdk treatment up to par with the loader 2025-11-27 16:06:25 -05:00

Tree-sitter Loader

The tree-sitter command-line program will dynamically find and build grammars at runtime, if you have cloned the grammars' repositories to your local filesystem. This helper crate implements that logic, so that you can use it in your own program analysis tools, as well.