An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Max Brunsfeld d05c665863 Convert some of the fixture grammars from JSON to JS
These tests are easier to write and maintain if the grammars are just JS,
like grammars normally are. It doesn't slow the tests down significantly
to shell out to `node` for each of these grammars.
2021-10-22 18:47:23 -06:00
.github/workflows Fix ci.yml format 2021-09-28 18:52:12 -04:00
cli Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06:00
docs Merge pull request #1295 from nokome/master 2021-10-05 14:15:23 -07:00
highlight Bump tree-sitter dep version in tags and highlight crate 2021-09-03 13:31:26 -07:00
lib query: Return error on unclosed tree pattern in alternation 2021-10-12 09:20:43 -07:00
script Restructure test suite's allocation recording so that tests can run in parallel 2021-10-11 17:24:37 -07:00
tags Bump tree-sitter dep version in tags and highlight crate 2021-09-03 13:31:26 -07:00
test Convert some of the fixture grammars from JSON to JS 2021-10-22 18:47:23 -06: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 Bump lib tree-sitter dependency versions in loader crate 2021-09-03 13:29:03 -07:00
Cargo.lock Use serde's derive feature 2021-10-05 02:38:18 -05: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 chore(cli): Add the LICENSE file to the tree-sitter-cli npm package 2021-08-22 03:13:46 +03:00
Makefile Fix compilation warnings (#635) 2020-06-03 12:19:57 -07:00
README.md Add zenodo citation badge to readme 2021-03-18 12:16:03 -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 DOI

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