gotreesitter is a pure-Go reimplementation of the tree-sitter runtime with no CGo dependency, no C toolchain requirement, and WASM compatibility. It supports 205 language grammars, incremental parsing, S-expression queries, syntax highlighting, and symbol tagging. Benchmarks show incremental edits are ~90x faster than the CGo
Table of contents
Why Not CGo?Quick StartBenchmarksSupported LanguagesQuery APIKnown LimitationsAdding a LanguageArchitectureTestingRoadmapLicense1 Comment
Sort: