Can I use Common Lisp for SICP or is Scheme the only option?

前端 未结 5 882
一个人的身影
一个人的身影 2021-01-29 22:55

Also, even if I can use Common Lisp, should I? Is Scheme better?

5条回答
  •  春和景丽
    2021-01-29 23:30

    Edit: Nathan Sanders' comment is correct. It's clearly been a while since I last read the book, but I just checked and it does not use call/cc directly. I've upvoted Nathan's answer.


    Whatever you use needs to implement continuations, which SICP uses a lot. Not even all Scheme interpreters implement them, and I'm not aware of any Common Lisp that does.

提交回复
热议问题