|
|
|
|
|
by DalekBaldwin
4098 days ago
|
|
The macroexpansion hook isn't nearly as powerful or useful as it could be because the process of macroexpansion is not recursive. Although expansion functions can access information about the lexical environment via an &environment parameter, the invocations of those expansion functions do not share any dynamic context with other invocations at nodes above or below them in the syntax tree. Here's a more thorough summary of the problem: http://qiita.com/guicho271828/items/07ba4ff11bff494dc03f |
|
Coincidentally, you have contributed to that, so I thought I would ask you what is the problem with using macroexpand-dammit?
[0] https://gist.github.com/malisper/055848f4e593af5ca1b1
[1] https://github.com/guicho271828/macroexpand-dammit