按年被提到
20072010 · 6 次2026
开源书›编程语言·No.24

On Lisp

论 Lisp:宏与自底向上编程
Paul Graham

专讲 Common Lisp 宏与自底向上编程的进阶名著

免费阅读 ↗
被推荐 · 48 人首次 2007-08-01 · 最近 2026-08-23官方免费在线(版权保留,作者或出版社免费放出)
48不同的人
53活跃月份
33有推荐的月份
57讨论串

Paul Graham 的 Common Lisp 进阶书,主张用自底向上的方式,把语言本身扩展成适合问题的形状。前半部分讲函数和 Lisp 的编程风格,随后用大量篇幅讲宏(macro),再延伸到延续(continuation)、嵌入式语言和对象系统等主题。书里以大量代码例子展开,不是给初学者的入门书,更适合已经会一点 Lisp 的人深入理解宏。作者已将全书放在个人网站免费提供。

HN 为什么推荐它

HN 上的人反复称它是讲 Lisp 宏最权威、最易读的书,认为它能让人理解 Lisp 为什么比别的语言强大,也常作为 SICP 之后的进阶读物;多数评论强调免费可读。

难度 4 / 5约 35 小时
适合谁

已会一点 Lisp、想深入宏的程序员

读之前最好知道
1Common Lisp 基础
2函数式编程(functional programming)
3递归(recursion)

怎么读

由 Claude 根据这本书和 HN 上的说法整理,可能有错
  1. 1先有 Common Lisp 基础,再读这本书
  2. 2开头几章看 Lisp 的编程思路,可快速读过
  3. 3宏相关章节要慢读,自己动手写几个宏
  4. 4遇到延续和对象系统部分,可先放着以后再回头

HN 书评

推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算
强烈推荐ced · 2012-11

“If you want to learn more, Paul Graham's On Lisp is the definitive book on the topic.”

称它是讲 Lisp macro 的权威之作
The Nature of Lisp原评论 ↗
推荐raju · 2008-02

“I have also heard really good things about PG's "On Lisp"”

说听过很多对 PG 的 On Lisp 的好评
Ask YC: I started learning Lisp and I'm looking for some advice.原评论 ↗
推荐prog · 2010-07

“Following this, it was fun to read OnLisp[2].”

说读完 SICP 之后读它很有趣
Ask HN: How can I get the most out of SICP?原评论 ↗
推荐tmountain · 2010-07

“If you want to learn pure Lisp, I'd recommend Paul Graham's book, On Lisp, which is available online for free.”

推荐想学纯 Lisp 的人读,可免费在线读
Ask HN: Why should I care about Clojure?原评论 ↗
推荐rudenoise · 2010-11

“Books that I've really read and enjoyed:”

列入自己读过并喜欢的书单,讲编程背后的“为什么”
Which programming book you just couldn’t stop reading from start to end?原评论 ↗
推荐alexwestholm · 2010-12

“I must admit that his lisp books were a great help in breaking out of the imperative and OO worlds”

说 Paul Graham 的 Lisp 书帮自己跳出命令式和 OO 的思维
What should a self-taught programmer with no degree learn/read?原评论 ↗
看全部 20 条 →
推荐ekidd · 2011-05

“there are some lovely examples of the latter in PG's excellent On Lisp”

称赞它里面有不少漂亮的 macro 例子
Of Lisp Macros and Washing Machines原评论 ↗
推荐timsally · 2011-08

“Between Paul's On Lisp [1] and various online resources [2, 3] one can still do quite well.”

说没有导师时,靠它加在线资源学 Lisp 也不错
Programming languages that make you think differently原评论 ↗
推荐breckinloggins · 2011-12

“Read and try to understand pg's "On Lisp". It gives you a much better take on what makes Lisps so much more powerful than other programming languages.”

建议读懂它,能看清 Lisp 为何比其他语言强大
Less painful GUIs in Clojure - Talk原评论 ↗
推荐tincholio · 2012-01

“pg's On Lisp might be a good option as well, and it's free”

推荐给有编程基础的人,而且免费
I want to learn Lisp; any books or site to learn from?原评论 ↗
推荐UNIXgod · 2013-11

“Great books which do not need registration based shilling techniques for your hacking careers:”

把它列为不需要注册诱导的好书,适合 hacker
'Learn Ruby on Rails' is free today原评论 ↗
推荐aerique · 2013-12

“He wrote one of the top books for (Common) Lisp: On Lisp”

称它是 Common Lisp 的顶级书籍之一
What I Didn't Say原评论 ↗
推荐lispm · 2014-09

“Several books for learning Common Lisp are online or for download:”

把它列为可在线读的 Common Lisp 书,虽旧仍可用
Why I like Common Lisp原评论 ↗
推荐enupten · 2014-09

“Onlisp is a useful resource: On Lisp.”

称它是有用的资源
Why I like Common Lisp原评论 ↗
推荐malisper · 2014-11

“A great way to learn more about macros is through reading On Lisp[7]”

推荐用它深入学 macro
Lisp in Small Pieces: Table of Contents and Code原评论 ↗
推荐lawry · 2015-03

“On Lisp by pg explains very well what lisp is all about in the first few chapters.”

说前几章把 Lisp 到底是什么讲得很清楚
Why Racket? Why Lisp? (2014)原评论 ↗
推荐jfoutz · 2016-04

“Although pg doesn't call out DSL's specifically, the macro chapter is good.”

称它的 macro 一章不错,虽然没专门讲 DSL
Rebol vs. Lisp Macros原评论 ↗
推荐mbrock · 2017-01

“It's a good introduction to the Lisp way of programming using Common Lisp.”

推荐作为用 Common Lisp 入门 Lisp 编程方式的好书
Ask HN: Learning Lisp?原评论 ↗
推荐qohen · 2017-06

“FYI, Paul Graham's book, "On Lisp" covers macros in detail and is available as a free download here, if you are interested in the topic:”

推荐它详细讲解 Lisp 宏,并说明可免费下载
The Lisp Curse (2011)原评论 ↗
推荐Jtsummers · 2018-02

“Also free and a great introduction to the language.”

推荐这本免费的 Lisp 入门好书,重点讲宏
Ask HN: If you could only code with one language which would it be?原评论 ↗