# Tree-sitter WASM Grammars

Put language grammar `.wasm` files in this folder.

Expected filenames used by `server.js`:

- `tree-sitter-javascript.wasm`
- `tree-sitter-typescript.wasm`
- `tree-sitter-tsx.wasm`
- `tree-sitter-c_sharp.wasm`
- `tree-sitter-python.wasm`
- `tree-sitter-java.wasm`
- `tree-sitter-go.wasm`
- `tree-sitter-rust.wasm`

Run `npm run setup:grammars` in `LocalBridge/` to copy these files automatically from `tree-sitter-wasms`.

If a grammar is missing, the bridge falls back to lightweight regex parsing for that language.
