An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
dundargoc c3ab70cc98 ci: rework release strategy
Switch the release trigger from PR to a git tag. In practice this would
mean tagging a commit in master branch and pushing it with
`git push --tags`.

The benefit of this is that tagging is already an event that is reserved
for maintainers, so we can remove the need for verifying whether the
event was done by a maintainer.

We also no longer need to keep track of the tag. Previously the trigger
was a PR which has a different ref from the tag, so manual bookkeeping
was required to ensure github used the tag reference instead of the PR
reference. Having the tagging itself be the trigger removes this need
entirely as the default checkout will already use the tag as reference.
2024-02-06 14:48:50 +01:00
.github ci: rework release strategy 2024-02-06 14:48:50 +01:00
cli build(deps): bump which from 4.4.2 to 6.0.0 2024-02-05 21:53:01 +00:00
docs build(deps-dev): bump nokogiri from 1.14.3 to 1.16.2 in /docs 2024-02-05 21:04:01 +00:00
highlight chore(highlight): apply clippy fixes 2024-02-04 04:19:09 -05:00
lib build(deps): bump bindgen from 0.66.1 to 0.69.4 2024-02-05 20:16:49 -05:00
script Remove duplicate specification of stdlib symbols for web tree-sitter 2024-02-02 12:04:49 -08:00
tags chore(tags): apply clippy fixes 2024-02-04 04:19:09 -05:00
test fix: rework parser.h includes for test grammars and multi-grammar repos 2024-02-02 10:42:39 -05: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 bindgen from 0.66.1 to 0.69.4 2024-02-05 20:16:49 -05:00
Cargo.toml Keep default release profile with default settings 2023-11-28 05:14:36 +02:00
CONTRIBUTING.md Tweak readmes 2020-05-12 16:16:48 -07: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 Merge branch 'master' into wasm-language 2023-10-27 12:11:43 +01: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