This is a cross-post from internals (I think internals might not have been the most appropriate place to post).
I’ve spent a fair amount of time writing compiler plugins and using
libsyntax directly (haven’t been using
aster much because it’s prone to breaking, but will run through it) for a bunch of codegen scenarios and am working on a talk for the Brisbane Meetup on Rust codegen in general. I’ll also dig through
serde uses for codegen on the stable channel.
I know the compiler APIs are in motion, so I’m not sure how worthwhile it is getting too bogged down in details, but any sources I could dig through (like this PR) to help get a sense of where compiler plugins are heading would be really helpful!