#type-sitter #tree-sitter #query

macro type-sitter-proc

procedural macros for type-sitter (generate typed wrappers for tree-sitter grammars from node-types.json and queries)

16 unstable releases (6 breaking)

new 0.7.4 May 19, 2025
0.7.2 Mar 8, 2025
0.6.0 Nov 30, 2024
0.4.0 Apr 1, 2024
0.3.0 Jul 18, 2023

#6 in #type-sitter

Download history 117/week @ 2025-01-29 54/week @ 2025-02-05 278/week @ 2025-02-12 302/week @ 2025-02-19 106/week @ 2025-02-26 203/week @ 2025-03-05 79/week @ 2025-03-12 73/week @ 2025-03-19 104/week @ 2025-03-26 167/week @ 2025-04-02 141/week @ 2025-04-09 13/week @ 2025-04-16 26/week @ 2025-04-23 8/week @ 2025-04-30 39/week @ 2025-05-07 288/week @ 2025-05-14

363 downloads per month
Used in type-sitter

MIT/Apache

175KB
3.5K SLoC

type-sitter-proc: generate type-sitter wrappers via procedural macros

crates.io

See type-sitter for background information. This exports procedural macros which generate typed nodes. Typed nodes can also be generated from a built-script using type-sitter-gen, or from a command-line interface using type-sitter-cli.

Instead of depending on this, typically you should depend on type-sitter instead with the proc feature (enabled by default). type-sitter with the proc feature re-exports this crate, but also type-sitter-lib, which the generated code depends on at runtime.

Dependencies

~7–19MB
~170K SLoC