#tree-sitter #proc-macro #node #grammar #generate #type-sitter

macro type-sitter-proc

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

9 unstable releases (4 breaking)

new 0.5.2 Oct 20, 2024
0.5.0 Oct 18, 2024
0.4.0 Apr 1, 2024
0.3.1 Apr 1, 2024
0.1.2 May 8, 2023

#353 in Parser tooling

Download history 109/week @ 2024-07-24 20/week @ 2024-07-31 2/week @ 2024-09-18 4/week @ 2024-09-25 2/week @ 2024-10-02 272/week @ 2024-10-16

280 downloads per month
Used in type-sitter

MIT/Apache

155KB
3K 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–15MB
~173K SLoC