An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld 4d99e23946
Merge pull request #738 from tree-sitter/supertype-queries
Allow tree queries to match on nodes' supertypes
2020-09-23 12:19:04 -07:00
cli Account for supertypes during query analysis 2020-09-23 10:55:31 -07:00
docs Merge pull request #723 from tree-sitter/comprehensive-wasm-help 2020-09-15 11:54:57 -07:00
highlight tags, highlight: Avoid completely deallocating buffers when shrinking 2020-08-05 09:57:45 -07:00
lib Simplify query code for matching supertypes 2020-09-23 11:55:03 -07:00
script Remove unnecessary echo in test script 2020-09-02 09:17:48 -07:00
tags Merge pull request #708 from tree-sitter/add-tagger-error-detection 2020-08-05 14:07:31 -04:00
test Update c error recovery test to reflect behavior change 2020-09-21 13:20:50 -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 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.9 2020-07-17 14:23:54 -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