Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 670 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 670 Bytes

rust-tree-sitter-wasm

This package provides binding to make tree-sitter work with Rust in browser.

Architecture

graph TD;
web_ts_npm("web-tree-sitter(npm)") --> web_ts_sg_npm("web-tree-sitter-sg(npm)")
web_ts_sg_npm -->|wasm-bindgen| web_ts_sg_crate("web-tree-sitter-sg(Rust crate)")
web_ts_sg_crate -->|target:wasm| ts_facade_crate("tree-sitter-facade(Rust crate)")
ts_crate("tree-sitter(Rust crate)") -->|target:native| ts_facade_crate

classDef crate fill:#dea584,stroke:#333;
classDef npm fill:#f1e05a,stroke:#333;

class web_ts_npm npm;
class web_ts_sg_npm npm;
class web_ts_sg_crate crate;
class ts_facade_crate crate;
class ts_crate crate;
Loading