An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld 1bc6204870 Handle local.definition-value captures in queries
This lets you indicate, when matching a variable definition, that
another later syntax node represents the value of the variable definition,
and so any references to the same variable name within that value node
must be referring to some earlier definition.
2019-10-18 15:56:47 -07:00
cli cli: Check queries when running tree-sitter test 2019-10-18 14:44:16 -07:00
docs docs: fix lookahead type (#462) 2019-10-14 12:08:24 -07:00
highlight Handle local.definition-value captures in queries 2019-10-18 15:56:47 -07:00
lib cli: Check queries when running tree-sitter test 2019-10-18 14:44:16 -07:00
script Return to using master branches of grammar repos for testing 2019-10-17 15:27:03 -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
.gitattributes lib: remove utf8proc dependency (#436) 2019-10-14 11:18:39 -07:00
.gitignore Build and test wasm on CI 2019-04-26 14:38:13 -07:00
.gitmodules lib: remove utf8proc dependency (#436) 2019-10-14 11:18:39 -07:00
.travis.yml Don't include wasm library in the CLI binary on windows 2019-05-14 15:51:12 -07:00
Cargo.lock 🔥 Everything related to property sheets 2019-10-17 11:00:31 -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