到 http://www.gnu.org/software/mit-scheme/ 下載對應平臺的安裝包,我下載的是windows 版本ubuntu
安裝到本地後只出現一個快捷方式MIT-GNU Scheme
,可是找的教程上說的都是出現4個,應該是mit-scheme最新的作了修改,可是點擊快捷方式後,有一半機率沒法打開,顯示 requested allocation is too large try again with a smaller argument to '--heap'
的錯誤,參照http://stackoverflow.com/questions/22989385/requested-allocation-is-too-large-error-while-running-mit-scheme-on-windows-7說明,應該是mit內存分配錯誤,打開快捷方式屬性,修改目標, 添加--heap 512
參數, 如... mit-scheme.exe" --heap 512 --library ...
.windows
此時能正常打開快捷方式,可是窗口顯示的爲edwin
(類emacs編輯器), 任務欄顯示打開兩個窗口,另外一個爲解釋器(還不可以使用).編輯器
在edwin
窗口,按下Ctrl + x
, 而後按z
, 再切換到另外一窗口,此時,解釋器就能夠使用了code
若想返回編輯器,輸入(edit)
,便可教程
我的若只想點擊快捷方式進入repl
,把快捷方式的屬性中的目標的最後參數--edit
去掉便可內存
輸入(display "Hello World!")
! >_<get
# 安裝 sudo apt-get install mit-scheme # repl mit-scheme