macrosschemelispcommon-lispon-lisp

Learn Macros in Scheme from On Lisp


I really want to learn Scheme macros. I glanced over the content of "On Lisp" and a lot of the chapters have been devoted to Lisp macros. However I do not know common lisp. Can I use it to learn Scheme Macros?


Solution

  • Scheme macros ("hygienic macros") are completely different from traditional Lisp macros. Some implementations of Scheme offer Lisp macros in addition to Scheme macros, but this is not required by the Scheme standard.

    I would recommend you look for instructional materials specific to Scheme macros if you would like to learn about that style of macro. Google shows many pages offering an introduction to Scheme macros.