An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
2023-05-13 18:57:42 +03:00
.github cicd: a series of small improvements 2023-05-03 05:29:34 +03:00
cli fix(test): stick tree-sitter-cpp fixture grammar to a specific hash 2023-05-13 18:57:42 +03:00
docs docs: improve external scanner details and fix conflicting tokens details 2023-04-16 23:46:21 +03:00
highlight docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00
lib Fix get_column() segfault on EOF, don't do lookahead without EOF check first 2023-04-22 12:11:26 +03:00
script fix(test): stick tree-sitter-cpp fixture grammar to a specific hash 2023-05-13 18:57:42 +03:00
tags docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00
test Fix tests, adapt to tree-sitter-json 40a81c01a40ac48744e0c8ccabbaba1920441199 2023-04-22 12:08:50 +03:00
.gitattributes Exclude huge generated files from git diff output 2023-01-14 08:58:25 +02:00
.gitignore Add files needed for using clangd 2022-02-22 09:44:50 -08:00
Cargo.lock fix: use SIGINT instead of stdin for interruption to don't mess up piped commands 2023-05-02 10:43:46 +03:00
Cargo.toml cargo: specify minimum supported Rust version 2023-04-04 03:42:55 +03:00
CONTRIBUTING.md Tweak readmes 2020-05-12 16:16:48 -07:00
LICENSE chore: fix years in the license file 2023-04-16 23:39:08 +03:00
Makefile chore: fix lib version in Makefile and set it to 0.20.10 2023-04-16 23:39:01 +03:00
README.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00
tree-sitter.pc.in Add a simple Makefile-based build system. 2020-04-21 23:49:19 -04:00

tree-sitter

CICD badge 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