Common Lisp Koans(lisp-koans)是一个语言学习练习程序,类似 ruby koans,python koans 等等。Common Lisp Koans 主要是帮助学习一些 lisp 规范特性和改进,可以学习到大量的 Common Lisp 语言特性。
终端,在文件 ‘contemplate.lsp’ 执行 lisp 解析器:
sbcl --script contemplate.lsp
运行再一个新版本会输出:unning on a fresh version should output the following:
Thinking about ASSERTS ASSERT-TRUE requires more meditation. You have not yet reached enlightenment ... A koan is incomplete. Please meditate on the following code: File "koans/asserts.lsp" Koan "ASSERT-TRUE" Current koan assert status is "(INCOMPLETE)" You are now 0/169 koans and 0/25 lessons closer to reaching enlightenment