How to run scheme with Emacs?

后端 未结 3 1130
太阳男子
太阳男子 2021-01-31 18:35

I followed this tutorial and successfully installed Emacs, STk, Quack.

The question is how can I load my program like I do in Racket?

In Racket I can edit my cod

3条回答
  •  甜味超标
    2021-01-31 19:34

    The 64-bit download from GNU now has the .app named as "MIT:GNU Scheme.app." I tried @spacemanaki's instructions but I kept getting:

    bash-3.2$ export MITSCHEME_LIBRARY_PATH=/Applications/MIT:GNU\ Scheme.app/Contents/Resources
    bash-3.2$ scheme
        scheme: can't find a readable default for option --band.
        searched for file all.com in these directories:
        /Applications/MIT
        /Applications/MIT:GNU Scheme.app/Contents/Resources/GNU Scheme.app/Contents/Resources
    

    Eventually I realized the semicolon was acting as a path separator. So just make sure you rename it:

    mv MIT:GNU\ Scheme.app/ mit-scheme.app
    

    Then the above instructions will work fine - although you may have to use Finder to do the rename, because when I did it on the shell my Resources folder disappeared.

提交回复
热议问题