norvig/paip-lisp
View on GitHub ↗ ★ 7,521 Common Lisp
Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
102 mentions on Hacker News by 63 people: 10 stories, 92 comments · first 2018-02-26 · latest 2026-04-19
20082026
-
Yep, and after that I'd jump into PAIP, Paradigms of AI Programming. Code: https://github.com/norvig/paip-lisp The EPUB looks broken in my machine, try the PDF: https://commons.wikimedia.org/wiki/File:Peter_Norvig._Paradi... Altough Scheme…
comment by anthk · 2026-04-19 · in The seven programming ur-languages (2022) -
…at the computer history museum...[5]) [0] Norvig's PAIP gives a small taste, one of the files: https://github.com/norvig/paip-lisp/blob/main/lisp/mycin-r.l... And a book about a particular system, MYCIN:…
comment by Jach · 2026-02-17 · in Show HN: I wrote a technical history book on Lisp -
Common Lisp should have those too in the Paradigms of Artificial Intelligence programming book. Code: https://github.com/norvig/paip-lisp Book https://archive.org/details/github.com-norvig-paip-lisp_-_20... As for the interpreter, SBCL…
comment by anthk · 2025-10-06 · in Rule-Based Expert Systems: The Mycin Experiments (1984) -
…Still, PAIP code has been ported to Elisp: https://github.com/yfuna/paip-el The original one: https://github.com/norvig/paip-lisp Paradigms of AI Programming: https://upload.wikimedia.org/wikipedia/commons/d/d4/Peter_No...
comment by anthk · 2025-07-23 · in Extending Emacs with Fennel (2024) -
https://github.com/norvig/paip-lisp PAIP is available online from the author, too.
comment by tsuru · 2025-07-13 · in Notes on Graham's ANSI Common Lisp (2024) -
Norvig put PAIP up on Github a while ago: https://github.com/norvig/paip-lisp
comment by Jtsummers · 2025-06-27 · in A Lisp adventure on the calm waters of the dead C (2021) -
…by GPS, which has a good description in Norvig's Paradigms of Artificial Programming, here: https://github.com/norvig/paip-lisp
comment by kjander79 · 2025-04-28 · in Reanimation of the original Logic Theorist, the first AI, in IPL-V [video] -
…and "chapter2#section2_1" * bad: a "chapter1#section1" and a "chapter2#section1" WIP: https://github.com/norvig/paip-lisp/pull/195 For line wrapping of code, there's CSS. I first used it over on "Writing an Operating System in 1,000…
comment by pronoiac · 2025-03-02 · in Ask HN: Where are the good Markdown to PDF tools (that meet these requirements)? -
I've worked on PAIP, and I think the GitHub.com version - https://github.com/norvig/paip-lisp/ - gets more attention than the GitHub.io version linked here. The GitHub.io version automatically gets updates, I think, but I'm not verifying…
comment by pronoiac · 2025-02-22 · in These years in Common Lisp: 2023-2024 in review -
…adjustments before applying Tesseract, via OCRmyPDF. I wrote notes for some of my process over at https://github.com/norvig/paip-lisp/releases/tag/v1.2 . I'd also tried ocrit, which uses Apple's Vision framework for OCR, with some success…
comment by pronoiac · 2025-02-16 · in Ask HN: What is the best method for turning a scanned book as a PDF into text? -
…it depends on the circumstances, but might be nice to have in your back pocket if you need it. [1]: https://github.com/norvig/paip-lisp/blob/main/docs/chapter12...
comment by upghost · 2024-12-25 · in Into CPS, Never to Return -
…marks might be filtered out here. I wrote out some of my process for handling scans here - https://github.com/norvig/paip-lisp/releases/tag/v1.2 . I maybe should blog about it. If you get to the point of collaborative proofreading, I…
comment by pronoiac · 2024-12-17 · in Show HN: Adventures in OCR -
…in production code bases. [1]: https://lamport.azurewebsites.net/pubs/future-of-computing.p... [2]: https://github.com/norvig/paip-lisp
comment by upghost · 2024-11-17 · in SICP: The only computer science book worth reading twice? (2010) -
…which I loved in Paradigms of Artificial Intelligence Programming (available in PDF and EPUB here - https://github.com/norvig/paip-lisp ): > The name lambda comes from the mathematician Alonzo Church's notation for functions (Church 1941).…
comment by sourcepluck · 2024-11-04 · in Alonzo Church: Architect of computer intelligence -
…particularly good. He says they are for good lisp but I think they broadly apply to any language: https://github.com/norvig/paip-lisp/blob/main/docs/chapter3.... *Edit:* After reading this book I am often really surprised that this book is…
comment by upghost · 2024-10-20 · in The Languages of English, Math, and Programming -
…-- using old-fashioned AI as the subject matter. To learn better coding you gotta code something. https://github.com/norvig/paip-lisp
comment by abecedarius · 2024-10-20 · in The Languages of English, Math, and Programming -
…the figures. https://www.cs.cmu.edu/~dst/LispBook/ Paradigms of Artificial Intelligence Programming https://github.com/norvig/paip-lisp https://unglueit-files.s3.amazonaws.com/ebf/59f74a93bbc1435c... Get SBCL as the compiler/interpreter,…
comment by anthk · 2024-10-01 · in The Liberating Experience of Common Lisp -
…does it, their interpreter uses continuation passing style: 22.5 An Interpreter Supporting Call/cc https://github.com/norvig/paip-lisp/blob/main/docs/chapter22... 23.2 Introducing Call/cc [see the next chapter, 23.3 The Abstract Machine,…
comment by ReleaseCandidat · 2024-07-18 · in Pseudo Scheme: Scheme Implemented on Top of Common Lisp -
Like almost always, there are chapters about that in PAIP: 22 Scheme: An Uncommon Lisp[what a pun!] https://github.com/norvig/paip-lisp/blob/main/docs/chapter22... 23 Compiling Lisp [Scheme] https://github.com/norvig/paip-lisp/blob/main/doc…
comment by ReleaseCandidat · 2024-07-18 · in Pseudo Scheme: Scheme Implemented on Top of Common Lisp -
…of Peter Norvig's "Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp". https://github.com/norvig/paip-lisp There is also an implementation in Python, but I have never tested it, just googled it now:…
comment by ReleaseCandidat · 2024-07-01 · in Unification in Elixir -
…design and development with Common Lisp. IMHO PAIP is extremely well written. Book and Code: https://github.com/norvig/paip-lisp SICP has a mixed reception. Many find it excellent, others find it to focused to teach CS concepts in a…
comment by lispm · 2024-06-17 · in Why "Structure and Interpretation of Computer Programs" matters (2011) -
A good old fashioned AI approach, e.g. compare with Peter Norvig's https://github.com/norvig/paip-lisp/blob/main/lisp/simple.li... > A third, quieter feeling - if the universe was to communicate some message, who’s to say it would not…
comment by tveita · 2024-05-30 · in Meaningful Nonsense: How I generate sentences -
…off looking at something that's actually Lisp-centric like Paradigms of AI Programming by Norvig ( https://github.com/norvig/paip-lisp ). You eventually build up to a Prolog to CL compiler written in CL.
comment by Jtsummers · 2024-05-26 · in The Evolution of Lisp (1993) [pdf] -
…is "sweeter than the honeycomb". I still think CL code can be beautiful. Norvig's in PAIP https://github.com/norvig/paip-lisp is nice. As for the inside-out remark, while technically you do it for even basic syntax, you don't always…
comment by Jach · 2024-05-03 · in The world's loudest Lisp program to the rescue -
…Paradigms of Artificial Intelligence Programming, Case Studies in Common Lisp by Peter Norvig ( -> https://github.com/norvig/paip-lisp ). A beginner/mid-level book, for people with some programming experience, on the practical side is:…
comment by lispm · 2024-05-03 · in The world's loudest Lisp program to the rescue -
PAIP by Peter Norvig, Chapter 23, Compiling Lisp https://github.com/norvig/paip-lisp/blob/main/docs/chapter23...
comment by lispm · 2024-02-02 · in Ask HN: Guide for Implementing Common Lisp -
…Scheme or Racket have modules and settings for this) get SICP. If you prefer Common LISP, there's https://github.com/norvig/paip-lisp If you read Macsyma's source code, you'll understand what's is Math trully about. And, well, you have a…
comment by anthk · 2024-01-17 · in The math exams of my life -
…Programming, Case Studies in Common Lisp" extensive examples how to implement such a thing in Lisp: https://github.com/norvig/paip-lisp/blob/main/docs/chapter8.... and https://github.com/norvig/paip-lisp/blob/main/docs/chapter15... The…
comment by lispm · 2024-01-12 · in Mathematica 14 -
…assessment of LISP (and therefore of MacArthy)'s impact on AI to be unfair. Just a few days ago https://github.com/norvig/paip-lisp was discussed on this site, for example.
comment by fipar · 2023-09-11 · in The meeting of the minds that launched AI -
…a great project idea to make a toy demo of this direction you'd like to see. Maybe comparable to https://github.com/norvig/paip-lisp/blob/main/docs/chapter15... and https://github.com/norvig/paip-lisp/blob/main/docs/chapter8.... which are…
comment by abecedarius · 2023-09-08 · in Towards a new SymPy -
…production today [2]. [0] https://norvig.github.io/paip-lisp/#/chapter5?id=_52-pattern... [1] https://github.com/norvig/paip-lisp/blob/main/lisp/patmatch.... [2] https://github.com/Comcast/sheens#pattern-matching
comment by jsmorph · 2023-05-05 · in Paradigms of A.I. Programming: Case Studies in Common Lisp (1991) -
…expert systems builds rules etc. symbol manipulation was king. Look at PAIP for some examples: https://github.com/norvig/paip-lisp This paradigm has changed.
comment by gjadi · 2023-04-13 · in Conversation with Larry Masinter about standardizing Common Lisp -
…in Lisp using Peter Norvig's book called Paradigms of Artificial Intelligence Programming [0]. [0] https://github.com/norvig/paip-lisp
comment by debanjan16 · 2023-04-07 · in Ask HN: What was the most confidence building moment for you as a programmer? -
If anyone is interested PAIP is downloadable at https://github.com/norvig/paip-lisp
comment by hislaziness · 2023-03-27 · in A Retrospective on Paradigms of AI Programming (2002) -
Reading Peter Norvig's PAIP ( https://github.com/norvig/paip-lisp ) in 1998 totally blew my mind. It completely changed how I think about programming in every other language I use(d). I love it still, and always will. And yes, my…
comment by asyd · 2023-02-19 · in The Janet Language -
…entirely in Common Lisp, to be released imminently on Steam. [1] https://gigamonkeys.com/book/ [2] https://github.com/norvig/paip-lisp [3] https://www.cs.cmu.edu/~dst/LispBook/ [4] https://store.steampowered.com/app/1261430/Kandria/
comment by reikonomusha · 2022-11-25 · in A few examples of Lisp code typography (2013) -
…their domain logic has been mapped to Lisp. [0] https://news.ycombinator.com/item?id=33705558 [1] https://github.com/norvig/paip-lisp/blob/main/docs/chapter2....
comment by dmux · 2022-11-22 · in Little languages are the future of programming -
For more info on ELIZA: PAIP Chapter 5. ELIZA: Dialog with a Machine [1]. 1: https://github.com/norvig/paip-lisp/blob/main/docs/chapter5....
comment by emmanueloga_ · 2022-11-16 · in ELIZA is Turing Complete -
…has a chapter (17) on constraint satisfaction but IIRC it’s not integrated into his Prolog system: https://github.com/norvig/paip-lisp Many real Prolog implementations are based on the WAM. For an excellent introduction to the WAM look at:…
comment by i_don_t_know · 2022-09-11 · in Ask HN: Best resources on implementing constraint logic programming? -
https://github.com/norvig/paip-lisp - Peter Norvig's Paradigm's of AI Programming https://github.com/norvig/paip-lisp/search?l=Markdown&q=defm... - all references to defmacro in the markdown files Chapter 3 shows a simple macro, just…
comment by Jtsummers · 2022-09-06 · in Common Lisp vs Racket -
See for example the Prolog implementation in PAIP: https://github.com/norvig/paip-lisp/blob/main/docs/chapter11... But I would think the convention is quite a bit older than Common Lisp and earlier Lisp programs should have used something…
comment by lispm · 2022-08-28 · in Common Lisp Wiki: Naming Conventions -
Incidentally implementing prolog in Common Lisp is, while not trivial, quite natural[1]. [1] https://github.com/norvig/paip-lisp/blob/main/lisp/prolog.li...
comment by User23 · 2022-08-13 · in Objective-S: architecture-oriented language based on Smalltalk and Objective-C -
Paradigms of Artificial Intelligence Programming by Peter Norvig https://github.com/norvig/paip-lisp
comment by medo-bear · 2022-07-11 · in Guile Steel: a proposal for a systems Lisp -
…there and then help by adding some more). [0] https://www.youtube.com/watch?v=HM1Zb3xmvMc [1] https://github.com/norvig/paip-lisp
comment by eigenhombre · 2022-06-07 · in A Road to Common Lisp (2018) -
…Want to generate boilerplate code? Macro. Prolog compiler? Yes. Basically anything in this book: https://github.com/norvig/paip-lisp > But why is this more productive than simply defining a "exponent()" function or something similar? It's…
comment by dunefox · 2022-05-05 · in Tutorial Series to learn Common Lisp quickly -
…chapter! i think you should work more through the book before holding strong opinions about it [0] https://github.com/norvig/paip-lisp/blob/main/docs/chapter4....
comment by medo-bear · 2022-02-07 · in A Retrospective on PAIP (2002) -
…still on my list to work through. Last time I tried I got as far as the first substantive program ( https://github.com/norvig/paip-lisp/blob/main/lisp/gps.lisp ), was generally confused by the code, and was then not surprised when the…
comment by mattarm · 2022-02-07 · in A Retrospective on PAIP (2002) -
…in any event if you are interested don't be afraid of lisp, it is a super-easy syntax to learn [0] https://github.com/norvig/paip-lisp [1] https://emacs.stackexchange.com/questions/5465/how-to-migrat... [2]…
comment by medo-bear · 2022-02-07 · in A Retrospective on PAIP (2002) -
…enjoy learning it in this way you can convert norvig's paip book from md to org format using pandoc https://github.com/norvig/paip-lisp
comment by medo-bear · 2021-12-10 · in Lessons learned after working one year as a Common Lisp Developer (2018) -
…experience interactively (like jupyter notebook, but only on a whole different leve) useful link: https://github.com/norvig/paip-lisp https://orgmode.org/ https://emacs.stackexchange.com/questions/5465/how-to-migrat...
comment by medo-bear · 2021-10-27 · in Why Lisp? (2015)