An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld e239aa8229 highlight: don't include scope in ScopeEnd events
When there are embedded documents, multiple scopes can start or
end at the same position. Previously, there was no guarantee that
the ScopeEnd events would always occur in the reverse order of the
ScopeStart events. The easiest way to avoid exposing inconsistency
is to not surface the scopes being ended.
2019-02-20 16:45:51 -08:00
cli highlight: don't include scope in ScopeEnd events 2019-02-20 16:45:51 -08:00
docs Update docs after Rust conversion 2019-02-05 11:34:01 -08:00
highlight highlight: don't include scope in ScopeEnd events 2019-02-20 16:45:51 -08:00
lib lib: 0.3.8 2019-02-11 09:46:26 -08:00
script Add usage info to version script 2019-02-06 11:56:12 -08:00
test clang must be >= 7 2019-02-05 13:38:00 +00:00
.appveyor.yml Add benchmark script 2019-02-01 15:17:35 -08:00
.gitignore Include error recovery examples in test suite 2019-01-20 16:58:49 -08:00
.gitmodules Reorganize repo, add rust CLI and binding code, 2019-01-04 17:31:49 -08:00
.travis.yml Add benchmark script 2019-02-01 15:17:35 -08:00
Cargo.lock highlight: 0.1.1 2019-02-20 10:42:56 -08:00
Cargo.toml Move code into cli directory 2019-01-04 16:50:52 -08:00
LICENSE Add boilerplate 2018-05-17 14:46:29 -07:00
README.md Add rust tree-sitter runtime binding in lib directory 2019-01-04 17:16:34 -08:00

tree-sitter

Build Status Build status

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

Documentation