1 रिपॉजिटरी
Processes for modifying or replacing nodes within a syntax tree to generate transformed code.
Distinct from Syntax Tree Construction: Distinct from Syntax Tree Construction: focuses on modifying existing trees rather than building them from scratch.
Explore 1 awesome GitHub repository matching software engineering & architecture · Tree Mutations. Refine with filters or upvote what's useful.
syn is a Rust syntax tree parser and token stream converter. It serves as a toolkit for procedural macro development, providing a framework to parse Rust source code into structured syntax trees for analysis and transformation. The project enables the manipulation of Rust abstract syntax trees through specialized visitor and folder patterns for traversing and mutating nodes. It provides a bidirectional mapping that allows developers to convert token streams into structured trees and print those trees back into tokens for code generation. The library covers a broad range of syntax analysis ca
Implements a folder-based transformation pattern to mutate Rust abstract syntax trees for code generation.