Hacker GitHub

← All repos

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

Mentions per year 102 mentions · busiest year 2024 (19)
20082026
  1. 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…
  2. …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:…
  3. 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…
  4. …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)
  5. https://github.com/norvig/paip-lisp PAIP is available online from the author, too.
  6. Norvig put PAIP up on Github a while ago: https://github.com/norvig/paip-lisp
  7. …by GPS, which has a good description in Norvig's Paradigms of Artificial Programming, here: https://github.com/norvig/paip-lisp
  8. …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…
  9. 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…
  10. …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…
  11. …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
  12. …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
  13. …in production code bases. [1]: https://lamport.azurewebsites.net/pubs/future-of-computing.p... [2]: https://github.com/norvig/paip-lisp
  14. …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).…
  15. …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…
  16. …-- 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
  17. …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,…
  18. …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,…
  19. 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…
  20. …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
  21. …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…
  22. 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…
  23. …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]
  24. …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…
  25. …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:…
  26. PAIP by Peter Norvig, Chapter 23, Compiling Lisp https://github.com/norvig/paip-lisp/blob/main/docs/chapter23...
  27. …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
  28. …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
  29. …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.
  30. …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
  31. …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
  32. …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.
  33. …in Lisp using Peter Norvig's book called Paradigms of Artificial Intelligence Programming [0]. [0] https://github.com/norvig/paip-lisp
  34. If anyone is interested PAIP is downloadable at https://github.com/norvig/paip-lisp
  35. 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
  36. …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)
  37. …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....
  38. 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
  39. …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:…
  40. 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
  41. 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
  42. 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...
  43. 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
  44. …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)
  45. …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…
  46. …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)
  47. …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)
  48. …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)
  49. …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
  50. …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)