An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Amaan Qureshi 74812ced1b chore: deprecate C++ scanners
C++ has been a headache to deal with throughout the ecosystem and for
several downstream projects. It is difficult to get working with WASM,
and induces potential issues with compilation on Windows. It has been
proven that writing scanners in C is a much better alternative, and is
the recommended way to write scanners now. C++ support will likely be
removed in 0.21.0
2024-02-14 15:43:53 -05:00
.github ci(sanitize): add a timeout of 60 minutes 2024-02-14 17:32:49 +01:00
cli chore: deprecate C++ scanners 2024-02-14 15:43:53 -05:00
docs chore: deprecate C++ scanners 2024-02-14 15:43:53 -05:00
highlight build: move common Cargo.toml keys into the workspace and inherit them 2024-02-14 14:56:23 -05:00
lib build: move common Cargo.toml keys into the workspace and inherit them 2024-02-14 14:56:23 -05:00
script build: remove symbolic links from repository 2024-02-12 14:16:12 +01:00
tags build: move common Cargo.toml keys into the workspace and inherit them 2024-02-14 14:56:23 -05:00
test fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05: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 fix: make install should install files with default perms 2023-08-21 06:19:49 +03:00
build.zig Updated build.zig to work with 0.11.0 2023-08-25 19:18:46 +03:00
Cargo.lock build(deps): bump wasmtime from v16.0.0 to v17.0.1 2024-02-14 12:59:13 -05:00
Cargo.toml build: move common Cargo.toml keys into the workspace and inherit them 2024-02-14 14:56:23 -05:00
CONTRIBUTING.md build: remove symbolic links from repository 2024-02-12 14:16:12 +01:00
FUNDING.json chore: add FUNDING.json 2023-11-08 00:08:07 -05:00
LICENSE chore: fix years in the license file 2023-04-16 23:39:08 +03:00
Makefile build: add useful development targets to makefile 2024-02-09 13:19:28 +01:00
Package.swift Added Swift Package Manager entry point. 2023-07-12 11:37:04 -04:00
README.md docs: various fixes 2024-02-08 00:08:59 +01:00
tree-sitter.pc.in Add a simple Makefile-based build system. 2020-04-21 23:49:19 -04:00

tree-sitter

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