这是书...
http://mitpress.mit.edu/sicp/full-text/book/book.html
知道我应该使用哪个解释器来处理这里提供的代码吗?
到目前为止,我已经尝试了一些在线并下载了 Lisp 解释器,但当我尝试使用 DEFINE 时,我得到的只是错误。
例子:
从本节开始:http: //mitpress.mit.edu/sicp/full-text/book/book-ZH-10.html#%_sec_1.1
放在这里:http ://www.ugcs.caltech.edu/~rona/tlisp/
> (define (square x) (* x x))
*** EVAL Error: Function 'DEFINE' is not defined. ***
还尝试使用 'lispbox' 得到类似的结果。
啊哈:http: //sisc-scheme.org/sisc-online.php有效,感谢 blabla999 的提示,很快就会接受答案。
经过进一步研究:Scheme != Common Lisp