An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Amaan Qureshi efc51a596c fix(lib): don't consider unfinished captures definite when the following step is immediate
When collecting captures, we were treating unfinished ones as definite
even if they had pending immediate steps that weren't yet satisfied. Now
we only mark a capture as definite if the pattern is guaranteed and
there are no pending immediate steps to check.
2025-01-04 02:03:41 -05:00
.cargo feat: add xtasks to assist with bumping crates 2024-02-25 13:40:03 -05:00
.github ci: fix typo 2025-01-02 21:40:49 -06:00
cli fix(lib): don't consider unfinished captures definite when the following step is immediate 2025-01-04 02:03:41 -05:00
docs docs: add --test-number entries for query, highlight, and tag subcommands 2025-01-03 16:16:17 -05:00
highlight fix: keep highlight names list consistent in the docs and cli 2024-12-15 23:29:43 -05:00
lib fix(lib): don't consider unfinished captures definite when the following step is immediate 2025-01-04 02:03:41 -05:00
tags style: correct typos 2024-12-23 02:11:09 -05:00
test/fixtures feat: add 'reserved word' construct 2024-12-23 03:06:32 -05:00
xtask fix(rust): adapt to a few new nightly lints 2024-12-28 01:17:04 -05:00
.dockerignore Add a simple dockerfile for testing 2024-03-18 12:35:10 -07:00
.editorconfig build: add editorconfig 2024-02-11 13:03:58 +01:00
.gitattributes fix: specify eof should be lf for windows cicd 2024-01-25 20:12:36 -05:00
.gitignore build(lib): build using cmake 2024-09-07 18:38:05 -04:00
build.zig build(zig): use build root instead of cwd (#3944) 2024-11-15 12:47:01 +02:00
build.zig.zon build(deps): bump wasmtime-c-api to v26.0.1 2024-11-09 21:04:52 +01:00
Cargo.lock build(deps): bump the cargo group across 1 directory with 7 updates 2025-01-02 22:10:49 -06:00
Cargo.toml build(deps): bump the cargo group across 1 directory with 7 updates 2025-01-02 22:10:49 -06:00
CONTRIBUTING.md docs: fix link to contributing.md 2024-12-24 22:43:06 -05:00
Dockerfile Add a simple dockerfile for testing 2024-03-18 12:35:10 -07:00
FUNDING.json chore: add FUNDING.json 2023-11-08 00:08:07 -05:00
LICENSE docs(license): update year 2024-03-16 01:15:22 -04:00
Makefile feat: support querying missing nodes 2024-12-14 14:57:36 -05:00
Package.swift feat!: properly handle UTF-16 endianness encoding 2024-10-05 21:12:48 -04:00
README.md docs: add discord and matrix badges 2024-03-10 11:28:14 -04:00
rustfmt.toml refactor(rust): misc fixes & tidying 2024-04-11 22:35:43 -04:00

tree-sitter

DOI discord matrix

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