Build Your Own Lisp

Mr Daniel Holden

出版时间

2014-10-22

ISBN

9781501006623

评分

★★★★★
书籍介绍
这本书最独特的地方,在于它把'造一门语言'这件事拆解成了普通人够得着的工程实践。作者没有堆砌编译原理的术语,而是用不到1000行C代码,带你亲手走完一个解释器从解析到求值的全过程。读者反复提到的关键收获是'流程'而非'算法':作者提供了mpc库来生成抽象语法树,省去了最啃人的词法、语法分析环节,让你把精力集中在'语言如何运作'这一核心上。这既是它的取舍,也决定了它的读者群——适合想理解解释器工作原理、又不愿陷进编译细节的C语言学习者。它更像一座桥梁:有人建议与SICP配合阅读,有人拿它当毕业论文的起点。它不教你发明新范式,而是让你真正看懂一门语言从代码到结果的每一步。
作者简介
Daniel Holden is a PhD student at Edinburgh University doing research into machine learning, and data driven approaches to character animation. He is a prolific C hacker with a flair for creative and interesting projects, that have gathered considerable attention in the open source community. As well as hacking on C, he enjoys writing short stories, constructing digital art, and game development.
下载
收藏