N°450
REPOSITORY DETAIL · 仓库详情
Open Source · GITHUB
tree-sitter – tree-sitter
tree-sitter/tree-sitter
Rust 开源项目
26,589 Stars
2,805 Forks
Rust
MIT
1
Views · 浏览
项目简介
用于编程工具的增量解析系统
SECTION · 01
关键指标一览
Stars 数
26,589
Forks 数
2,805
Watchers 数
26,589
Issue 数
129
主要语言
Rust
许可证
MIT
仓库所有者
tree-sitter
创建时间
2013.11.06
更新时间
2026.08.09
最近推送
2026.08.09
SECTION · 02
主题标签
SECTION · 03
README 详细介绍
README 原文为英文,如需阅读完整中文内容,建议使用 浏览器翻译插件(如 Edge 浏览器自带翻译、Google 翻译扩展)进行整页翻译。
tree-sitter
<img src="https://zenodo.org/badge/14164618.svg" alt="DOI" class="ra0-md-img" loading="lazy" />
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
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
Links
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
已复制克隆地址到剪贴板