An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
2019-10-03 12:53:14 -07:00
cli rust: Change QueryCursor::captures to expose the full match 2019-10-03 12:45:58 -07:00
docs Precompute tree edits in playground script 2019-09-23 17:01:35 -07:00
highlight highlight iterator: Return byte offset ranges instead of string slices 2019-09-04 17:29:31 -07:00
lib rust: Generalize text_callback type for query methods 2019-10-03 12:53:14 -07:00
script Minify function names in wasm build 2019-09-16 11:38:29 -07:00
test Handle named nodes aliased as anonymous nodes 2019-08-29 14:28:44 -07:00
.appveyor.yml Build and test wasm on CI 2019-04-26 14:38:13 -07:00
.gitignore Build and test wasm on CI 2019-04-26 14:38:13 -07:00
.gitmodules Reorganize repo, add rust CLI and binding code, 2019-01-04 17:31:49 -08:00
.travis.yml Don't include wasm library in the CLI binary on windows 2019-05-14 15:51:12 -07:00
Cargo.lock 0.15.10 2019-10-02 14:13:20 -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 Use https README docs site link 2019-04-30 13:00:27 -07: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