An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld 4c2f36a07b Mark steps as definite on query construction
* Add a ts_query_pattern_is_definite API, just for debugging this
* Store state_count on TSLanguage structs, to allow for scanning parse tables
2020-06-25 15:06:27 -07:00
cli Mark steps as definite on query construction 2020-06-25 15:06:27 -07:00
docs Remove docs site banner for now 2020-06-18 07:12:33 -07:00
highlight docs: Use new predicate syntax in highlighting query examples 2020-05-19 16:26:04 -07:00
lib Mark steps as definite on query construction 2020-06-25 15:06:27 -07:00
script Make it easy to build with address sanitizer in test script 2020-05-18 12:00:57 -07:00
tags tags: 0.2.0 2020-05-12 16:32:37 -07:00
test Update error recovery test to reflect JS grammar changes 2020-01-28 09:16:36 -08: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 Start work on restructuring query implementation to deal w/ optionals and repeats better 2020-05-07 12:41:25 -07:00
.travis.yml Remove unnecessary caching on Travis 2020-06-24 14:22:37 -07:00
Cargo.lock 0.16.8 2020-06-01 13:48:37 -07:00
Cargo.toml Move code into cli directory 2019-01-04 16:50:52 -08:00
CONTRIBUTING.md Tweak readmes 2020-05-12 16:16:48 -07:00
LICENSE Add boilerplate 2018-05-17 14:46:29 -07:00
Makefile Fix compilation warnings (#635) 2020-06-03 12:19:57 -07:00
README.md Tweak readmes 2020-05-12 16:16:48 -07:00
tree-sitter.pc.in Add a simple Makefile-based build system. 2020-04-21 23:49:19 -04: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