C tree-sitter

Open-source C projects categorized as tree-sitter

Top 21 C tree-sitter Projects

tree-sitter
  1. codebase-memory-mcp

    High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

    Project mention: Launch HN: Bullet (YC S26) – A Faster Coding Agent | news.ycombinator.com | 2026-08-13

    * Search: there are AST and embedding-based search MCPs. I use https://github.com/DeusData/codebase-memory-mcp

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. py-tree-sitter

    Python bindings to the Tree-sitter parsing library

  4. tree-sitter-markdown

    Markdown grammar for tree-sitter

    Project mention: Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering | news.ycombinator.com | 2026-01-10

    This is cool. I was hoping to see progress coming from Zed (e.g. because Tree-sitter → https://github.com/tree-sitter-grammars/tree-sitter-markdown) but it's exciting to see this.

  5. go-tree-sitter

    Golang bindings for tree-sitter https://github.com/tree-sitter/tree-sitter

  6. tree-sitter-bash

    Bash grammar for tree-sitter

  7. tree-sitter-ruby

    Ruby grammar for tree-sitter

  8. tree-sitter-html

    HTML grammar for Tree-sitter

  9. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  10. tree-sitter-haskell

    Haskell grammar for tree-sitter.

  11. tree-sitter-comment

    Tree-sitter grammar for comment tags like TODO, FIXME(user).

    Project mention: Tree-sitter vs. Language Servers | news.ycombinator.com | 2026-01-22

    > It is possible to use the language server for syntax highlighting. I am not aware of any particularly strong reasons why one would want to (or not want to) do this.

    This is an area where TS excels. It also supports nesting of different languages so a query can inject other languages [0] and compose different parsers.

    As an example, this can be a straight forward as a simple comment parser [1], jsdoc [2], regex [3] etc. Or in more complex cases various DSLs. Each of these can then define their own injections too. When working with CI pipelines in particular it transforms an opaque wall of YAML into slightly more manageable CST which is incredible useful for both humans (syntax highlighting) and any machine parsing you may want to do.

    [0]: https://tree-sitter.github.io/tree-sitter/3-syntax-highlight...

    [1]: https://github.com/stsewd/tree-sitter-comment

    [2]: https://github.com/tree-sitter/tree-sitter-jsdoc

    [3]: https://github.com/tree-sitter/tree-sitter-regex

  12. tree-sitter-tlaplus

    A tree-sitter grammar for TLA⁺ and PlusCal

    Project mention: The Emacsification of Software | news.ycombinator.com | 2026-05-13

    I've done some similar stuff.

    I wanted to reference some TLA+ community stuff. I was initially just copy-pasting the specs into mine, and that worked well enough, but it was a little tedious and I was kind of afraid I might accidentally forget to give attribution to someone if I used their spec.

    So I got Claude to build a TLA+ package manager for me. It's just a basic thing in Rust that allows me to plop a deps.json file into my TLA+ folder, and put a git repo url and commit hash, and then I use tree-sitter-tlaplus [1] to rename the modules to have a basic namespace to avoid collisions. It took about 30 minutes of fighting with Claude, but then it worked fine.

    As AI gets better and better and cheaper and cheaper, I suspect it will be easy to have tons of custom apps for everything. It's a brave new world.

    [1] https://github.com/tlaplus-community/tree-sitter-tlaplus

  13. tree-sitter-yaml

    YAML grammar for tree-sitter (by tree-sitter-grammars)

    Project mention: Tree-sitter vs. Language Servers | news.ycombinator.com | 2026-01-22

    tree-sitter-yaml definitely exists[1]. Presumably nobody has packaged it for Arch yet; that seems like a thing you could contribute.

    [1]: https://github.com/tree-sitter-grammars/tree-sitter-yaml

  14. tree-sitter-fish

    Fish grammar for tree-sitter

  15. sqry

    Semantic code search engine - by Verivus (sqry.dev)

    Project mention: Hardening API Scan Boundaries in skill-scanner, with sqry as the Review Map | dev.to | 2026-06-14

    The tool that changed the review was sqry, version 20.0.5. sqry uses "semantic" in the compiler sense, it parses code into ASTs, builds a graph of symbols and relationships, and answers structural questions from that graph. It is not an embedding search tool, and it is not just grep with better ranking.

  16. tree-sitter-janet-simple

    Simple Janet grammar for tree-sitter

  17. tree-sitter-csv

    csv grammar for tree-sitter

  18. tree-sitter-formula

    Formula grammar for tree-sitter

  19. tree-sitter-xml

    XML Grammar for Tree-Sitter

  20. tree-sitter-automad

    Automad grammar for Tree-Sitter

  21. tree-sitter-visitor

    Procedural macro for generating a visitor trait for Tree Sitter Rust bindings

  22. tree-sitter-org

    Mostly complete TreeSitter grammar for the Emacs OrgMode file format. (by Idorobots)

    Project mention: Ask HN: What are tools you have made for yourself since the advent of AI | news.ycombinator.com | 2026-06-08

    I made a Tree-Sitter based parser for Emacs Org-Mode files (that's mostly complete, mostly): https://github.com/Idorobots/tree-sitter-org

    On top of that, I made a Python parser that's meant to improve upon the awesome `orgparse`: https://github.com/Idorobots/org-parser

    And now I'm building a CLI for Emacs Org-Mode, mostly focused on ad-hoc querying, agenda planning, etc: https://github.com/Idorobots/org-cli

  23. tree-sitter-ecsact

    Ecsact tree-sitter parser

  24. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C tree-sitter discussion

Log in or Post with

C tree-sitter related posts

  • Launch HN: Bullet (YC S26) – A Faster Coding Agent

    3 projects | news.ycombinator.com | 13 Aug 2026
  • Mergiraf: Syntax-Aware Merging for Git

    2 projects | news.ycombinator.com | 12 Nov 2025
  • Mastering JSX Editing in Emacs with Tree-sitter

    1 project | dev.to | 15 May 2024
  • Linus Torvalds adds arbitrary tabs to kernel code

    3 projects | news.ycombinator.com | 17 Apr 2024
  • Tree-Sitter

    4 projects | news.ycombinator.com | 17 Feb 2024
  • How to pass environment variables to treesitter grammar

    1 project | /r/NixOS | 27 Jul 2023
  • adding go html template highlight in lazyvim

    2 projects | /r/neovim | 19 Jun 2023
  • A note from our sponsor - AppSignal
    www.appsignal.com | 16 Sep 2026
    Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more →

Index

What are some of the best open-source tree-sitter projects in C? This list will help you:

# Project Stars
1 codebase-memory-mcp 42,952
2 py-tree-sitter 1,498
3 tree-sitter-markdown 623
4 go-tree-sitter 564
5 tree-sitter-bash 329
6 tree-sitter-ruby 230
7 tree-sitter-html 213
8 tree-sitter-haskell 186
9 tree-sitter-comment 169
10 tree-sitter-tlaplus 78
11 tree-sitter-yaml 58
12 tree-sitter-fish 51
13 sqry 30
14 tree-sitter-janet-simple 18
15 tree-sitter-csv 12
16 tree-sitter-formula 3
17 tree-sitter-xml 3
18 tree-sitter-automad 2
19 tree-sitter-visitor 1
20 tree-sitter-org 1
21 tree-sitter-ecsact 0

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com