An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
2019-03-26 16:53:35 +01:00
cli Merge pull request #307 from tree-sitter/pointer-sized-cancellation-flag 2019-03-22 12:30:39 -07:00
docs fix example snippet in creating parsers docs 2019-03-24 14:37:43 +02:00
highlight Use a size_t instead of a uint32_t for cancellation flag 2019-03-21 11:26:05 -07:00
lib Swap two incorrectly placed comments 2019-03-26 16:53:35 +01: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 Switch back to rust stable on CI 2019-03-21 11:26:13 -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 Switch back to rust stable on CI 2019-03-21 11:26:13 -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