First, let’s start with a related “neat trick” that lets you write composablemacro_rules!. Say you have a macro that generates struct definitions1:| PolyWolf's Blog
I may have accidentally come up with a paper-worthy idea while just playing around with my silly compiler project| wolfgirl.dev
as mentioned in my projects page, i’m writing a toy compiler called PolyWolf’s C Compiler based off the book Writing a C Compiler. I’ve used it as an excuse to do a good amount of Rust metaprogramming (macro_rules! only!!), and now that I’ve figured out a bunch of the tricky bits, it’s been smooth sailing putting more recent chapters into my mostly-declarative framework.| PolyWolf's Blog