An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
2023-02-16 11:59:34 -08:00
.github/workflows ci: rustup install rustfmt and clippy 2023-01-15 19:18:51 +02:00
cli Tweak query tests 2023-02-16 11:59:34 -08:00
docs docs: apply scheme marker for all query syntax snippets 2023-02-06 21:33:50 +02:00
highlight Fix typos 2022-06-28 19:57:42 +08:00
lib Tweak query tests 2023-02-16 11:59:34 -08:00
script Add --dot flag to parse subcommand, for printing tree as DOT graph 2023-02-13 12:33:34 -08:00
tags Fix typos 2022-06-28 19:57:42 +08:00
test Add tests that randomly edit files with disjoint included ranges 2022-11-14 16:04:37 -08:00
.appveyor.yml Build and test wasm on CI 2019-04-26 14:38:13 -07:00
.gitattributes Exclude huge generated files from git diff output 2023-01-14 08:58:25 +02:00
.gitignore Add files needed for using clangd 2022-02-22 09:44:50 -08:00
Cargo.lock Tweak query tests 2023-02-16 11:59:34 -08:00
Cargo.toml cli: produce smaller release binary by stripping debug info 2023-01-15 04:32:18 +02: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 Update Makefile VERSION to 0.20.9 from lib/Cargo.toml 2023-01-08 04:39:46 +02: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