Abstract
Now it’s time to start writing your own macros. The standard macros I covered in the previous chapter hint at some of the things you can do with macros, but that’s just the beginning. Common Lisp doesn’t support macros so every Lisp programmer can create their own variants of standard control constructs any more than C supports functions so every C programmer can write trivial variants of the functions in the C standard library. Macros are part of the language to allow you to create abstractions on top of the core language and standard library that move you closer toward being able to directly express the things you want to express.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Peter Seibel
About this chapter
Cite this chapter
Seibel, P. (2005). Macros: Defining Your Own. In: Practical Common Lisp. Apress. https://doi.org/10.1007/978-1-4302-0017-8_8
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0017-8_8
Publisher Name: Apress
Print ISBN: 978-1-59059-239-7
Online ISBN: 978-1-4302-0017-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books