mtshiba/ruast
Printable & modifiable Rust AST
Provides operator precedence-aware and indentation-aware pretty-printing of hand-constructed Rust AST nodes, enabling systematic code generation without `quote!` macros. Supports conversion to `proc_macro2::TokenStream` for proc macro development and includes arbitrary-based fuzzing of AST nodes. Designed as a lightweight alternative to `rustc_ast` (unpublished, compiler-dependent) and `syn` (parse-only, non-Display AST).
Stars
8
Forks
3
Language
Rust
License
Apache-2.0
Category
Last pushed
Mar 01, 2026
Monthly downloads
42
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/mtshiba/ruast"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas
elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
seaofvoices/darklua
A command line tool that transforms Lua code
usethesource/rascal
The implementation of the Rascal meta-programming language (including interpreter, type checker,...
JacquesCarette/Drasil
Generate all the things (focusing on research software)