Blog about macro hygiene


I blogged about the hygiene algorithm used in Rust -

I thought this would be of more interest here than on users. or r/rust since it is mostly about implementation.


And another blog post, this one covers import/export, parsing and libsyntax, spans, and expansion traces.


The MTWT paper was hard to read without proper CS background even after spending some time with tutorials on Racket macros, which they use heavily for explanation. This is much nicer.