2 comments

[ 202 ms ] story [ 695 ms ] thread
The PLT macro system is the result of some of the most advanced research into the core of what code is. It addresses issues of what it means to use a variable name, what exactly scope is, and so on. I'd highly recommend reading this lecture if you want to understand the nitty-gritty low-level details of what exactly a macro is.

On the other hand, if you're not an experienced macrologist, I'd recommend reading Graham's On Lisp first; it uses a much simpler macro system (that of CL) to introduce the practical aspects of macros: why and how you'd use them. This lecture is closer to the theory --- low-level nitty-gritty theory at that.