#tree-sitter #incremental #parser

tree-sitter-generate

Library for generating C source code from a tree-sitter grammar

3 releases

0.24.3 Oct 9, 2024
0.24.2 Oct 6, 2024
0.24.1 Oct 4, 2024

#1102 in Development tools

Download history 1325/week @ 2024-10-03 1178/week @ 2024-10-10

2,503 downloads per month
Used in 2 crates

MIT license

3MB
28K SLoC

Rust 16K SLoC // 0.0% comments C 12K SLoC // 0.1% comments JavaScript 431 SLoC

Tree-sitter Generate

This helper crate implements the logic for the tree-sitter generate command, and can be used by external tools to generate a parser from a grammar file.

Dependencies

~5–7.5MB
~155K SLoC