An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
2019-03-21 11:23:30 -07:00
cli Add --cancel flag to parse command to allow command-line testing 2019-03-21 10:56:32 -07:00
docs Use 1-indexed rows in CLI and log output (resolves #287) 2019-03-14 22:21:19 -07:00
highlight Fix backwards logic for cancellation flag 2019-03-20 17:02:07 -07:00
lib Add --cancel flag to parse command to allow command-line testing 2019-03-21 10:56:32 -07:00
script test script: Find test binary correctly when -g is passed 2019-03-21 11:23:30 -07:00
test clang must be >= 7 2019-02-05 13:38:00 +00:00
.appveyor.yml Lib: Rework the API for cancelling a parse 2019-03-18 09:51:21 -07: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 Lib: Rework the API for cancelling a parse 2019-03-18 09:51:21 -07:00
Cargo.lock Lib: Rework the API for cancelling a parse 2019-03-18 09:51:21 -07: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