… Hygienic macro systems, such as Scheme’s, automatically rename variables …. According to folklore, the definition of hygienic macro expansion hinges … for programs with macros depends on the results of macro expansion! We break …
ESOP 2008: 48-62 [doi]… We present the λm-calculus, a semantics for a language of hygienic macros with a non-trivial theory. Unlike Scheme, where programs must be macro-expanded … to programmers. Our contributions include a semantics of hygienic macro expansion …
PhD thesis, Northeastern University, Boston, Massachusetts, May 2010.