What’s in This Book?
Chapter 1, Build a Solid Foundation introduces the basic building blocks that will allow you to understand how macros work and what kinds of things it’s possible to do with them.
Chapter 2, Advance Your Macro Techniques shows how and why to use syntax-quoting, unquoting, and gensyms. These are some the trickiest concepts for new macro writers, but also some of the most useful.
Chapter 3, Use Your Powers Wisely takes a step back to dig into some of the problems macros can create, and how you can avoid those problems.
Chapter 4, Evaluate Code in Context starts the field guide portion of the book, and covers the first main use case you see in the wild: wrapping a block of code in a context for its execution.
Chapter ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access