Why doesn't Scheme support first class environments?

后端 未结 4 1702
慢半拍i
慢半拍i 2021-01-31 20:04

I\'ve been reading through SICP (Structure and Interpration of Computer Programs) and was really excited to discover this wonderful special form: \"make-environment\", which the

4条回答
  •  深忆病人
    2021-01-31 20:25

    They wrote it like that because MIT Scheme does, in fact, have first-class environments, and presumably that's what the writers were planning to teach their class with (since the book was written at MIT).

    Check out http://groups.csail.mit.edu/mac/projects/scheme/

    However, I've noticed that MIT Scheme, while still somewhat actively developed, lacks many of the features that a really modern Scheme would have, like a foreign function interface or GUI support. You probably wouldn't want to use it for a serious software development project, at least not by itself.

提交回复
热议问题