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

9m read time From github.com
Post cover image
Table of contents
Why Not CGo?Quick StartBenchmarksSupported LanguagesQuery APIKnown LimitationsAdding a LanguageArchitectureTestingRoadmapLicense
1 Comment

Sort: