An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld 50281637d7 binding: Make parse methods more convenient
* Rename parse_str to parse and make it polymorphic.
* Rename parse_utf8 to parse_with, since it is now the callback-based
  version of parse
* Add a parse_utf16 method analogous to parse
* Rename existing parse_utf16 method to parse_utf16_with

This brings in the changes from tree-sitter/rust-tree-sitter#5
2019-02-05 10:59:33 -08:00
cli binding: Make parse methods more convenient 2019-02-05 10:59:33 -08:00
docs Fix editing documentation, add note about ts_node_edit 2018-11-27 11:31:22 -08:00
lib binding: Make parse methods more convenient 2019-02-05 10:59:33 -08:00
script Remove invalid characters from grammar names 2019-02-05 13:37:59 +00: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 0.14.0-beta4 2019-02-03 13:59:27 -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