An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld a1fec71b19 Tweak QueryCursor to allow iterating either matches or captures
For syntax highlighting, we want to iterate over all of the captures in 
order, and don't care about grouping the captures by pattern.
2019-09-13 15:19:04 -07:00
cli Tweak QueryCursor to allow iterating either matches or captures 2019-09-13 15:19:04 -07:00
docs Tweak QueryCursor to allow iterating either matches or captures 2019-09-13 15:19:04 -07:00
highlight highlight iterator: Return byte offset ranges instead of string slices 2019-09-04 17:29:31 -07:00
lib Tweak QueryCursor to allow iterating either matches or captures 2019-09-13 15:19:04 -07:00
script Tweak compile flags in build-wasm script 2019-09-04 08:54:13 -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.8 2019-08-30 21:22:46 -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