An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld 4badd7cc40 Disable compiler optimizations for lex functions in more cases
* Reduce the lexer state count threshold from 500 to 300
* Disable optimizations on clang and gcc in addition to MSVC

Optimizations in these source files don't seem to make any impact on
parsing performance, but they slow down compile time substantially.
2019-02-06 11:50:37 -08:00
cli Disable compiler optimizations for lex functions in more cases 2019-02-06 11:50:37 -08:00
docs Update docs after Rust conversion 2019-02-05 11:34:01 -08:00
lib Define UTF8PROC_STATIC macro in the source 2019-02-06 10:42:29 -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 2019-02-05 12:16: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