An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Amaan Qureshi 35a6052fbc
Merge pull request #2412 from amaanq/apply-all-captures
feat: add an `--apply-all-captures` argument to highlight & test
2023-08-17 23:38:18 -04:00
.github chore(ci): explicitly define halt on error for ASAN detected issues 2023-08-17 18:26:08 +03:00
cli feat: allow specifying an input query-paths argument 2023-08-17 22:21:20 -04:00
docs chore(deps-dev): bump commonmarker from 0.23.9 to 0.23.10 in /docs 2023-08-08 20:25:20 +00:00
highlight feat: allow specifying an input captures-path argument 2023-08-17 22:20:57 -04:00
lib feat: add any-of predicate 2023-08-17 22:20:57 -04:00
script Remove Copy, Clone from TSLookaheadIterator raw binding struct 2023-08-02 00:04:17 +03:00
tags fix(asan): only use slice::from_raw_parts if locals_query is not null 2023-07-24 00:44:44 -04:00
test ci: rework fuzzer script 2023-07-24 00:44:44 -04:00
.gitattributes Exclude huge generated files from git diff output 2023-01-14 08:58:25 +02:00
.gitignore Add build.zig for easy use as a Zig library 2023-07-16 16:39:55 +03:00
build.zig Add build.zig for easy use as a Zig library 2023-07-16 16:39:55 +03:00
Cargo.lock Remove lazy_static lib dep forgotten in 622359b4 2023-08-12 00:10:35 +03:00
Cargo.toml fix: use opt-level 3 by default, and add a size profile 2023-08-14 14:12:45 -04:00
CONTRIBUTING.md Tweak readmes 2020-05-12 16:16:48 -07:00
LICENSE chore: fix years in the license file 2023-04-16 23:39:08 +03:00
Makefile Add an optional strip step to the Makefile 2023-08-17 15:39:14 +03:00
Package.swift Added Swift Package Manager entry point. 2023-07-12 11:37:04 -04:00
README.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00
tree-sitter.pc.in Add a simple Makefile-based build system. 2020-04-21 23:49:19 -04:00

tree-sitter

CICD badge 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