An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Guillaume Bertholon 1c7b518b9d
build(loader): make dependencies optional (#1638)
The `tree-sitter-loader` crate currently always pulls
`tree-sitter-highlight` and `tree-sitter-tags` as dependencies.
However, apart from the tree-sitter CLI, most clients will not need both
of these libraries.

This commit makes the dependencies optional, but still includes them by
default in order not to break the backward compatibility.
2024-07-28 10:59:21 +03:00
.cargo feat: add xtasks to assist with bumping crates 2024-02-25 13:40:03 -05:00
.github feat(dsl)!: support other JS runtimes 2024-05-24 16:53:33 -04:00
cli build(loader): make dependencies optional (#1638) 2024-07-28 10:59:21 +03:00
docs docs: add tsserver annotation to example (#3460) 2024-07-28 09:17:20 +03:00
highlight feat: add fuzz subcommand 2024-05-30 23:00:45 -04:00
lib docs: fix tree cursor documentation (#3324) 2024-07-28 10:36:06 +03:00
script refactor(scripts): clean up bash scripts 2024-07-28 10:12:55 +03:00
tags feat: add fuzz subcommand 2024-05-30 23:00:45 -04:00
test test: modernize scanner files 2024-05-05 18:31:53 -04:00
xtask fix(xtask): always bump every crate in tandem 2024-04-29 00:06:48 -04: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 refactor(scripts): clean up bash scripts 2024-07-28 10:12:55 +03:00
build.zig feat(zig): update outdated path syntax 2024-05-23 15:44:52 -04:00
build.zig.zon 0.22.6 2024-05-05 16:47:18 -04:00
Cargo.lock build(deps): bump the cargo group across 1 directory with 5 updates 2024-07-16 10:31:12 -04:00
Cargo.toml build(deps): bump the cargo group across 1 directory with 5 updates 2024-07-16 10:31:12 -04:00
CHANGELOG.md docs: remove duplicate pr # in changelog 2024-05-05 17:58:08 -04:00
CONTRIBUTING.md build: remove symbolic links from repository 2024-02-12 14:16:12 +01: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 0.22.6 2024-05-05 16:47:18 -04:00
Package.swift 0.22.0 2024-03-10 17:15:08 -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.pc.in Add a simple Makefile-based build system. 2020-04-21 23:49:19 -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