odvcencio

Pure Go tree-sitter runtime

368
11
100% credibility
Found Feb 26, 2026 at 294 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

Pure-Go reimplementation of the Tree-sitter parser runtime that supports 205 languages with superior incremental parsing performance.

How It Works

1
💻 Need fast code analysis

You're building an app that needs to understand and highlight code from many languages, but current tools are slow or tricky to use.

2
📦 Grab the easy tool

Download this pure-Go code parser that works with hundreds of languages right away.

3
🌍 Pick your language

Choose from 205 languages like Go, Python, or Rust – it handles them all perfectly.

4
Parse code super fast

Feed in your code and watch it build a smart map instantly, even for big files.

5
🎨 Color and tag code

Highlight keywords, find functions, or tag symbols effortlessly.

6
✏️ Edit live without lag

Change code and see updates in microseconds – 90x faster than before.

Perfect code smarts

Your app now reads code like a pro, smooth and reliable for any project.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 294 to 368 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is gotreesitter?

gotreesitter delivers a pure Go tree-sitter runtime for parsing source code into syntax trees, ditching CGo and C toolchains entirely. It reads standard Tree-sitter grammars out of the box, enabling queries, syntax highlighting, and symbol tagging across 205 languages like Go, Rust, and Python. Users get a drop-in replacement that's WASM-ready and optimized for incremental edits in editors or tools.

Why is it gaining traction?

CGo bindings kill cross-compilation, CI simplicity, and easy installs—gotreesitter fixes that with pure Go portability, like github pure bash bible or github pure zsh for parsing. It crushes benchmarks: 1.5x faster full parses, 90x on single-byte edits versus the CGo standard, ideal for live reloading. Developers love the zero-deps runtime that just works on any platform.

Who should use this?

Language server authors in Go needing fast incremental parsing without gcc deps. CLI tool builders analyzing code (e.g., linters, formatters) or embedding Tree-sitter in WASM apps. Editor plugin devs tired of CGo hacks, much like github pure data or pure storage integrations.

Verdict

Solid pick for Go tree-sitter needs—171 stars and 1.0% credibility score reflect early maturity, but 205 grammars, query/highlight APIs, and killer benchmarks outweigh that. Strong tests and docs; adopt if incremental speed matters, watch for broader polish.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.