“Mandatory plugin for learning lisp.”
Peter Norvig 以经典 AI 为题材,用 Common Lisp 写出一系列完整程序,例如 ELIZA 式对话、逻辑与合一系统,还包括在 Lisp 里实现 Prolog。它既教 Lisp 的编程风格与工程方法,也展示解决问题的思路,代码和文字都经过精心打磨。和一般 Lisp 入门书不同,它直接用较大的案例讲解,篇幅长、要求高。书与配套代码已由作者公开在网上,采用 MIT 许可证。
HN 上的人把它视为展示 Lisp 威力和 Norvig 解题思路的经典,既学编程又学传统 AI,有人称它是自己最喜欢的编程书;也有评论提醒它出版较早、偏经典 AI 而非现代机器学习。
想用大型案例精进 Lisp 与经典 AI 的人
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1先会基本 Common Lisp,再读这本书最顺
- 2挑自己感兴趣的案例章节读,不必从头到尾
- 3把代码拉下来在本机跑一遍,再自己改改
- 4读 Prolog 实现部分时可对照一本 Prolog 教材
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“This is my all time favorite programming book, both for the prose and the code within it:”
“despite that it is still counted as among the best programming books out there.”
“It's pretty old, but maybe it's a good place to start: Paradigms of Artificial Intelligence Programming”
“PAIP by Peter Norvig can seen as elementary programming book that uses classical AI as a subject. You learn both.”
“Norvig's Paradigms of AI Programming is purely about creating logic & unification systems in Lisp, and the foundation of many codebases still in use today.”
看全部 20 条 →
“I really recommend it.”
“The code in Norvig's book "Paradigms of Artificial Intelligence Programming" is enjoyable to read as well.”
“For me, the book that shows the power of Lisp for applications programming is Norvig's Paradigms of Artificial Intelligence: Case Studies in Common Lisp Paradigms of Artificial Intelligence Programming”
“I recommend Norvig's PAIP [1] or Graham's ANSI Common Lisp [2].”
“For those not in the know, PAIP is Paradigms of Artificial Intelligence Programming, with a fantastic repo here: Paradigms of Artificial Intelligence Programming”
“For resources, I would recommend Practical Common Lisp[0] and PAIP[1].”
“you can read a book full of small interesting programs written by someone with pretty clear track record of doing interesting things”
“Paradigms of AI Programming by Peter Norvig is another good introduction to Common Lisp. It focuses on classic AI algorithms which showcase the strengths of the language well.”
“I'd recommend taking a look at his book Paradigms of AI Programming [0]. It really shows his thought process in developing solutions to problems.”
“from personal experience, actually was fun in the proper sense: expanding my mind, knowledge, and providing a well thought-out learning experience”
“There's details on how to implement Prolog (in Common Lisp) in Peter Norvig's Paradigms of Artificial Intelligence: Paradigms of Artificial Intelligence Programming”
“For people wanting a more didactical explanation of what ELIZA does [1] is probably a better resource.”
“If you'd like to see how to do that yourself: Paradigms of Artificial Intelligence Programming”
“This was a substantial contribution to the field of educational computer science literature”