Visitar URL original
tree-sitter · GitHub
Skip to content

tree-sitter

DOI

Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. Tree-sitter aims to be:

  • General enough to parse any programming language
  • Fast enough to parse on every keystroke in a text editor
  • Robust enough to provide useful results even in the presence of syntax errors
  • Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application

Links

Pinned Loading

  1. tree-sitter tree-sitter Public

    An incremental parsing system for programming tools

    Rust 27.1k 2.9k

  2. node-tree-sitter node-tree-sitter Public

    Node.js bindings for tree-sitter

    JavaScript 878 173

  3. py-tree-sitter py-tree-sitter Public

    Python bindings to the Tree-sitter parsing library

    C 1.5k 199

  4. go-tree-sitter go-tree-sitter Public

    Go bindings for tree-sitter

    C 299 48

  5. tree-sitter-python tree-sitter-python Public

    Python grammar for tree-sitter

    JavaScript 569 249

  6. tree-sitter-javascript tree-sitter-javascript Public

    Javascript grammar for tree-sitter

    JavaScript 494 201

Repositories

Showing 10 of 56 repositories
  • tree-sitter Public

    An incremental parsing system for programming tools

    tree-sitter/tree-sitter's past year of commit activity
    Rust 27,139 MIT 2,945 105 3 Updated Oct 8, 2026
  • tree-sitter-php Public

    PHP grammar for tree-sitter

    tree-sitter/tree-sitter-php's past year of commit activity
    JavaScript 234 MIT 78 1 0 Updated Oct 6, 2026
  • setup-action Public

    Setup action for the tree-sitter library & CLI

    tree-sitter/setup-action's past year of commit activity
    18 MIT 11 0 0 Updated Oct 5, 2026
  • tree-sitter-ql Public

    tree-sitter grammar for the CodeQL language

    tree-sitter/tree-sitter-ql's past year of commit activity
    JavaScript 38 MIT 20 0 0 Updated Oct 1, 2026
  • tree-sitter-haskell Public

    Haskell grammar for tree-sitter.

    tree-sitter/tree-sitter-haskell's past year of commit activity
    C 188 MIT 60 25 1 Updated Sep 30, 2026
  • tree-sitter-c-sharp Public

    C# Grammar for tree-sitter

    tree-sitter/tree-sitter-c-sharp's past year of commit activity
    JavaScript 321 MIT 105 29 (5 issues need help) 5 Updated Sep 29, 2026
  • tree-sitter-ocaml Public

    OCaml grammar for tree-sitter

    tree-sitter/tree-sitter-ocaml's past year of commit activity
    JavaScript 102 MIT 38 1 1 Updated Sep 19, 2026
  • java-tree-sitter Public

    Java bindings to the Tree-sitter parsing library

    tree-sitter/java-tree-sitter's past year of commit activity
    Java 141 MIT 34 4 (2 issues need help) 2 Updated Sep 19, 2026
  • tree-sitter-cpp Public

    C++ grammar for tree-sitter

    tree-sitter/tree-sitter-cpp's past year of commit activity
    JavaScript 458 MIT 189 62 15 Updated Sep 17, 2026
  • tree-sitter-typescript Public

    TypeScript grammar for tree-sitter

    tree-sitter/tree-sitter-typescript's past year of commit activity
    JavaScript 534 MIT 186 32 21 Updated Sep 17, 2026

Sponsors

  • @lidarbtc
  • @timothy-miron
  • @jrstrunk
  • @fionn
  • @amterp
  • @shepherdjerred
  • @ntsk
  • @alecbcs
  • @laiso
  • @yamadashy
  • Private Sponsor
  • Private Sponsor
  • Private Sponsor
  • Private Sponsor

Most used topics

Loading…