Summary
"On Lisp" argues that programming problems are best solved by first constructing a problem-specific language built upon Lisp. This approach, termed "bottom-up programming," involves using Lisp's fundamental constructs, known as "macros," to create this new language, thereby simplifying how programmers discuss their specific challenges.
The book offers a comprehensive examination of Common Lisp macros and their practical applications. Beyond macros, it elaborates on various facets of bottom-up programming within the Common Lisp environment. Readers will learn how to leverage Lisp's inherent flexibility to build specialized tools that facilitate more direct expression of programming ideas related to particular problems.
Key concepts
- Bottom-up programming — A style of programming where a problem-specific language is built on top of Lisp.
- Macros — Basic Lisp constructs used to build problem-specific languages on top of Lisp.
From the book
Description: The title itself, "On Lisp", is a reference to the idea that you can solve a programming problem by first building a programming language that lets you talk about your programming problem easier. In Lisp the programmer builds this problem specific language on top of Lisp itself using basic Lisp constructs called "macros". This style of programming is called "bottom-up programming".
On Lisp is especially known for the complete description of Common Lisp macros and their uses, but the book also covers many other aspects of bottom-up programming in Common Lisp.