A New Design for Pretty Printer Implementations in Rust
Since I studied Rustc’s pretty printer and implemented my own pretty printer library (which is used in the cgrammar crate, a crate for parsing and processing C23 syntax), I have been thinking about how to design a better pretty printer library, especially...