Paradigms of Artificial Intelligence Programming (PAIP Lisp)
Open-source repository with the text and Common Lisp code of Peter Norvig's book Paradigms of Artificial Intelligence Programming.
At a Glance
Book text and Lisp code for Paradigms of Artificial Intelligence Programming, shared by the author under the MIT license.
Engagement
Available On
Alternatives
Listed Nov 2026
About Paradigms of Artificial Intelligence Programming (PAIP Lisp)
This repository hosts the book Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp by Peter Norvig (1992), together with the code it contains. According to the README, the copyright has reverted to the author, who shares it under the MIT license. The book is provided as markdown chapters, ebooks, scanned PDFs and OCR text.
What It Is
PAIP Lisp is a book-and-code companion for learning classic AI programming techniques in Common Lisp. It is not a single application: the README states there is no single application to run, only a collection of source files that duplicate the code in the book. Readers load the files into a Common Lisp environment and interact with them.
What the Book Covers
The table of contents is organized in five parts: an introduction to Common Lisp, early AI programs, tools and techniques, advanced AI programs, and the rest of Lisp. Case studies include the General Problem Solver, Eliza, the Student algebra word-problem solver, symbolic mathematics, a Prolog interpreter and compiler, object-oriented programming with CLOS, knowledge representation, the Emycin expert system shell, Waltz line labeling, Othello, natural language parsing and unification grammars, and Scheme interpreters and compilers.
Running the Code
The Lisp files live in the lisp directory, with a chapter-to-file table in the README. Users need a Common Lisp environment, must always run (load "auxfns.lisp"), and can use (requires "file") to load individual programs. The do-examples function, available via (requires "examples"), runs the book's examples for all chapters or selected ones.
Formats and Related Resources
The book is available as markdown chapter files, epub and pdf generated from the markdown, scanned PDFs of the 4th (1998) and 6th (2001) editions, and an OCR text file. The README also links to errata, comments, a 2002 retrospective, and a third-party Python version of the code.
Community Discussions
Be the first to start a conversation about Paradigms of Artificial Intelligence Programming (PAIP Lisp)
Share your experience with Paradigms of Artificial Intelligence Programming (PAIP Lisp), ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
Book text and Lisp code for Paradigms of Artificial Intelligence Programming, shared by the author under the MIT license.
- MIT License covers the repository (book markdown and Lisp code)
- Free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- Ebooks (epub, pdf) generated from the markdown files, available in Releases
- Scanned PDFs of the 4th (1998) and 6th (2001) editions available in Releases
Capabilities
Key Features
- Full book text as markdown chapter files
- Ebooks (epub and pdf) and scanned PDFs of the 4th and 6th editions
- Common Lisp source for case studies such as GPS, Eliza, Macsyma, Prolog interpreter and compiler, Emycin, Othello and Scheme compilers
- Example runner (do-examples) for chapter examples
- MIT-licensed code and text
