GitHunt
CA

carlocab/tree-sitter

An incremental parsing system for programming tools

tree-sitter

DOI
discord
matrix

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

Languages

Rust62.9%C28.0%JavaScript6.2%C++1.0%Shell0.9%Makefile0.3%CMake0.2%Python0.2%HTML0.2%Swift0.1%Batchfile0.1%Go0.0%Zig0.0%Dockerfile0.0%RenderScript0.0%
MIT License
Created October 4, 2024
Updated October 4, 2024