{"product_id":"lisp-metaprogramming-james-c-shepherd-9798268628173","title":"Lisp Metaprogramming: A Hands-On Guide to Macros, Syntax Transformation, and DSLs","description":"\u003cp\u003eHave you ever felt like you were fighting your programming language? You write the same boilerplate code over and over, wrestling with rigid syntax that forces you to express your ideas indirectly. You build abstractions with functions and classes, but you eventually hit a wall-a syntactic ceiling you cannot break through. You know what you want to say, but the language just doesn't have the right words.\u003c\/p\u003e\u003cp\u003eWhat if you could change the language itself?\u003c\/p\u003e\u003cp\u003eThis is the secret that has made Lisp a powerhouse for decades. The ability to write macros isn't just another feature; it's a paradigm shift. It's the moment you realize you don't have to work \u003ci\u003earound\u003c\/i\u003e the language's limitations because you have the power to eliminate them. This book is the story of that transformation. It's the journey from being a programmer who writes code to becoming an architect who builds new languages, crafting the perfect tool for every problem you face.\u003c\/p\u003e\u003cb\u003eWhat's inside\u003c\/b\u003e\u003cp\u003eThis book is a comprehensive, project-driven tutorial that will give you the skills to confidently build your own macros and DSLs. Inside, you'll discover how to: \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003e\n\u003cb\u003eMaster the Fundamentals: \u003c\/b\u003e Truly understand the concepts of homoiconicity, S-expressions, and the Read-Eval-Print Loop that make Lisp's metaprogramming possible.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eBuild Macros from Scratch: \u003c\/b\u003e Get hands-on experience with defmacro, learning the core mechanics of code templating with \u003cb\u003ebackquote\u003c\/b\u003e, \u003cb\u003eunquoting\u003c\/b\u003e, and \u003cb\u003esplicing\u003c\/b\u003e.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eWrite Safe and Robust Code: \u003c\/b\u003e Go beyond the basics and learn the professional techniques for avoiding common pitfalls. You'll conquer \u003cb\u003evariable capture\u003c\/b\u003e with gensym and learn the design patterns for creating hygienic, maintainable macros.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eBecome a Language Designer: \u003c\/b\u003e Learn to think in terms of syntax transformation and build your own Domain-Specific Languages (DSLs) from the ground up, including practical projects for configuration management and state machines.\u003c\/li\u003e\n\u003cli\u003e\n\u003cb\u003eGenerate High-Performance Code: \u003c\/b\u003e Uncover how macros can be used for advanced optimization, analyzing code at compile-time to generate highly specialized, efficient machine instructions.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cb\u003eWho it's meant for\u003c\/b\u003e\u003cp\u003eThis book is for you if: \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eYou are a programmer with a basic understanding of a Lisp dialect (like Common Lisp, Scheme, or Clojure) and you're ready to unlock its most legendary feature.\u003c\/li\u003e\n\u003cli\u003eYou are an intermediate or advanced developer in any language who is tired of repetitive code and wants to learn how to build more powerful and expressive abstractions.\u003c\/li\u003e\n\u003cli\u003eYou are curious about the deeper concepts of programming language design and want a practical, hands-on introduction to the world of metaprogramming.\u003c\/li\u003e\n\u003c\/ul\u003e\u003cp\u003eIt's time to stop fighting your tools and start building them. If you're ready to fundamentally change how you think about code, to move beyond writing simple instructions and start creating new forms of expression, then your journey begins now.\u003c\/p\u003e\u003cp\u003e\u003cb\u003eOpen this book, start the compiler, and discover the power of programming the programming language.\u003c\/b\u003e\u003c\/p\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e James C. Shepherd\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9798268628173\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e Independently Published\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 10\/06\/2025\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 180\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003eWeight:\u003c\/b\u003e 0.65lbs\u003cbr\u003e\u003cb\u003eSize:\u003c\/b\u003e 9.61h x 6.69w x 0.38d","brand":"James C. Shepherd","offers":[{"title":"Paperback","offer_id":48460259262719,"sku":"9798268628173","price":20.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_7572614c-6bab-4ff6-aeaa-9a6644df9743.jpg?v=1777413584","url":"https:\/\/www.whiterainbookhouse.com\/products\/lisp-metaprogramming-james-c-shepherd-9798268628173","provider":"WR Book House","version":"1.0","type":"link"}