Unlike many other Lisp books, this one doesn’t just touch on a few of Lisp’s greatest features and then leave you on your own to actually use them. It covers all the language features you’ll need to write real programs, and to developing nontrivial software.
Practical Common Lisp presents a thorough introduction to Common Lisp, providing you with an overall understanding of the language features and how they work. Over a third of the book is devoted to practical examples such as the core of a spam filter and a web application for browsing MP3s and streaming them via the Shoutcast protocol to any standard MP3 client software (e.g., iTunes, XMMS, or WinAmp). In other “practical” chapters, author Peter Seibel demonstrates how to build a simple but flexible in-memory database, how to parse binary files, and how to build a unit test framework in 26 lines of code.
Table of Contents
- Introduction: Why Lisp?
- Lather, Rinse, Repeat: A Tour of the REPL
- Practical: A Simple Database
- Syntax and Semantics
- Macros: Standard Control Constructs
- Macros: Defining Your Own
- Practical: Building a Unit Test Framework
- Numbers, Characters, and Strings
- They Called It LISP for a Reason: List Processing
- Beyond Lists: Other Uses for Cons Cells
- Files and File I/O
- Practical: A Portable Pathname Library
- Object Reorientation: Generic Functions
- Object Reorientation: Classes
- A Few FORMAT Recipes
- Beyond Exception Handling: Conditions and Restarts
- The Special Operators
- Programming in the Large: Packages and Symbols
- LOOP for Black Belts
Link: Read online.