An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
2023-08-17 18:26:08 +03:00
.github chore(ci): explicitly define halt on error for ASAN detected issues 2023-08-17 18:26:08 +03:00
cli Add TREE_SITTER_GRAMMAR_DEBUG env var to use debug grammars in tests 2023-08-17 18:16:41 +03:00
docs chore(deps-dev): bump commonmarker from 0.23.9 to 0.23.10 in /docs 2023-08-08 20:25:20 +00:00
highlight docs: update tree-sitter-higlight README 2023-08-06 22:13:04 -04:00
lib Use the same flags in lib's build.rs as in Makefile 2023-08-17 16:27:52 +03:00
script Remove Copy, Clone from TSLookaheadIterator raw binding struct 2023-08-02 00:04:17 +03:00
tags fix(asan): only use slice::from_raw_parts if locals_query is not null 2023-07-24 00:44:44 -04:00
test ci: rework fuzzer script 2023-07-24 00:44:44 -04:00
.gitattributes Exclude huge generated files from git diff output 2023-01-14 08:58:25 +02:00
.gitignore Add build.zig for easy use as a Zig library 2023-07-16 16:39:55 +03:00
build.zig Add build.zig for easy use as a Zig library 2023-07-16 16:39:55 +03:00
Cargo.lock Remove lazy_static lib dep forgotten in 622359b4 2023-08-12 00:10:35 +03:00
Cargo.toml fix: use opt-level 3 by default, and add a size profile 2023-08-14 14:12:45 -04: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 Add an optional strip step to the Makefile 2023-08-17 15:39:14 +03:00
Package.swift Added Swift Package Manager entry point. 2023-07-12 11:37:04 -04: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