An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld 5dbd15f5f2 Loosen criteria for when to increment repeat depth
Sometimes, an internal repeat node may have children that are
not themselves repeat nodes, because of unit reduction elimination.
This happened with the embedded template parser.
2018-11-03 23:19:31 -07:00
docs docs: Add missing ) to test code 2018-11-02 14:33:12 +01:00
externals ⬆️ bandit 2018-10-03 21:59:28 -07:00
include/tree_sitter Add ts_tree_cursor_reset function 2018-10-21 10:39:05 -07:00
script Included embedded-template parser in randomized tests 2018-11-03 23:18:24 -07:00
src Loosen criteria for when to increment repeat depth 2018-11-03 23:19:31 -07:00
test Included embedded-template parser in randomized tests 2018-11-03 23:18:24 -07:00
.appveyor.yml Rename appveyor.yml -> .appveyor.yml 2018-09-21 18:28:12 -07:00
.clang-format Auto-format: no single-line functions 2015-07-31 16:32:24 -07:00
.clang_complete Add test for an example found during fuzzing 2017-06-30 21:55:50 -07:00
.gitignore Ignore log file 2018-04-02 09:15:11 -07:00
.gitmodules Use my fork of crypto-algorithms 2017-07-10 14:29:14 -07:00
.travis.yml Only build master and PRs on travis 2017-07-12 21:40:57 -07:00
LICENSE Add MIT license 2017-05-03 10:32:12 -07:00
project.gyp Merge pull request #204 from tree-sitter/property-sheets 2018-10-15 23:18:33 -07:00
README.md Clarify runtime vs parser generator in README 2018-07-10 14:09:22 -07:00
tests.gyp Merge pull request #204 from tree-sitter/property-sheets 2018-10-15 23:18:33 -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