供参考,这是我自己用 Python 写的一个 Lisp 解释器版本:https://github.com/keithgabryelski/plisp。我是参考 Gary D. Knott 的《Interpreting LISP》写的。
for what it is worth, here is a version of a lisp interpreter I wrote in python: https://github.com/keithgabryelski/plisp I used _Interpreting_LISP_ by Gary D. Knott as a guide.
这是我自己用 Python 写的 Lisp 解释器版本:https://github.com/keithgabryelski/plisp 它并不是为了写得很 Pythonic——而是为了清晰易读、组织良好。我的灵感来自 Gary D. Knott 1997 年写的《Interpreting LISP》(仓库里包含了它的 PDF)。
Here is my version of a lisp interpreter in python: https://github.com/keithgabryelski/plisp it's not meant to be pythonic -- it's meant to readable and organized my inspiration was Interpreting LISP by Gary D. Knott written in 1997 (the pdf of it is included in the repository)
那本书叫《Interpreting Lisp》,作者是 G. Knott。Reddit 上的讨论贴:https://www.reddit.com/r/lisp/comments/6qc61v/second_edition... 别跟 1980 年代其他关于用 C 语言实现 Lisp 的书搞混了,比如《Lisp: A Portable Implementation》……
It is called Interpreting Lisp by G. Knott. Reddit discussion: https://www.reddit.com/r/lisp/comments/6qc61v/second_edition... Not to be confused with other books from the 1980s about doing Lisp in C, like Lisp: A Portable Implementation…
《Interpreting Lisp》书里记录的那 900 多行 C 代码(现在可以在 GitHub 上找到),我绝不会推荐用来教 C 语言初学者。从最佳实践的角度来看,写得相当糟糕。https://github.com/Apress/interpreting-lisp
The 900-something lines of C code documented by the book Interpreting Lisp, which can now be found on Github, is not something I would recommend for teaching C beginners. From a best practices point of view, it is pretty awful. https://github.com/Apress/interpreting-lisp
…confusing. Anecdata: as glad as I am for Apress for working with me and releasing my own book about a part of Common Lisp (which is, technically, non-fiction!), I still cannot fathom their re-release of "Interpreting LISP" [1] - a book that I hated to give a zero-star rating on Reddit [2] but that I can only warn people about, if I am to be acting in good faith. [1] https://link.springer.com/book/10.1007/978-1-4842-2707-7…
供参考,这是我自己用 Python 写的一个 Lisp 解释器版本:https://github.com/keithgabryelski/plisp。我是参考 Gary D. Knott 的《Interpreting LISP》写的。
for what it is worth, here is a version of a lisp interpreter I wrote in python: https://github.com/keithgabryelski/plisp I used _Interpreting_LISP_ by Gary D. Knott as a guide.
这是我自己用 Python 写的 Lisp 解释器版本:https://github.com/keithgabryelski/plisp 它并不是为了写得很 Pythonic——而是为了清晰易读、组织良好。我的灵感来自 Gary D. Knott 1997 年写的《Interpreting LISP》(仓库里包含了它的 PDF)。
Here is my version of a lisp interpreter in python: https://github.com/keithgabryelski/plisp it's not meant to be pythonic -- it's meant to readable and organized my inspiration was Interpreting LISP by Gary D. Knott written in 1997 (the pdf of it is included in the repository)
那本书叫《Interpreting Lisp》,作者是 G. Knott。Reddit 上的讨论贴:https://www.reddit.com/r/lisp/comments/6qc61v/second_edition... 别跟 1980 年代其他关于用 C 语言实现 Lisp 的书搞混了,比如《Lisp: A Portable Implementation》……
It is called Interpreting Lisp by G. Knott. Reddit discussion: https://www.reddit.com/r/lisp/comments/6qc61v/second_edition... Not to be confused with other books from the 1980s about doing Lisp in C, like Lisp: A Portable Implementation…
《Interpreting Lisp》书里记录的那 900 多行 C 代码(现在可以在 GitHub 上找到),我绝不会推荐用来教 C 语言初学者。从最佳实践的角度来看,写得相当糟糕。https://github.com/Apress/interpreting-lisp
The 900-something lines of C code documented by the book Interpreting Lisp, which can now be found on Github, is not something I would recommend for teaching C beginners. From a best practices point of view, it is pretty awful. https://github.com/Apress/interpreting-lisp
……让人困惑。顺便分享个亲身个案:虽然我很高兴 Apress 能跟我合作出版了我自己关于 Common Lisp 某个分支的书(严格来说是非虚构作品!),但我至今仍无法理解他们为什么要重印《Interpreting LISP》[1]——如果出于良心,我只能劝大家避坑,当年在 Reddit [2] 上我都恨不得给它打零星。[1] https://link.springer.com/book/10.1007/978-1-4842-2707-7…
…confusing. Anecdata: as glad as I am for Apress for working with me and releasing my own book about a part of Common Lisp (which is, technically, non-fiction!), I still cannot fathom their re-release of "Interpreting LISP" [1] - a book that I hated to give a zero-star rating on Reddit [2] but that I can only warn people about, if I am to be acting in good faith. [1] https://link.springer.com/book/10.1007/978-1-4842-2707-7…