我是Lisp的新手,并尝试在
Windows上的emacs下运行MIT方案解释器.但信息似乎都表明这是不可能的.
http://www.cs.rpi.edu/academics/courses/fall05/ai/scheme/starting.html
http://www.gnu.org/software/mit-scheme/
http://www.cs.rpi.edu/academics/courses/fall05/ai/scheme/starting.html
http://www.gnu.org/software/mit-scheme/
所以我想知道是否有办法这样做.谢谢.
解决方法
以下适用于我.您显然需要添加路径.如果我省略了–library选项,那么在启动时,mit-scheme会抱怨没有找到它的运行时带.
(require 'cmuscheme) (setq scheme-program-name "/usr/local/scheme/bin/mit-scheme --library /usr/local/scheme/lib/mit-scheme")
在方案缓冲区中:
MIT/GNU Scheme running under MacOSX Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 2011 Massachusetts Institute of Technology This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Image saved on Tuesday November 8,2011 at 10:45:46 PM Release 9.1.1 || Microcode 15.3 || Runtime 15.7 || SF 4.41 LIAR/x86-64 4.118 || Edwin 3.116 1 ]=>