How to run scheme with Emacs?

后端 未结 3 1125
太阳男子
太阳男子 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条回答
  •  猫巷女王i
    2021-01-31 19:32

    I would recommend to use Homebrew to install the mit-scheme with simple command brew install mit-scheme if your are on a Mac. Find your ~/.emacs file, if it not exists then create one, append this to the end of the file:

    (setq scheme-program-name  "your/mit-scheme/path")
    

    Use which mit-scheme command to find out where your mit-scheme was installed. Take my MacOS X as an example:

    (seq scheme-program-name   "/usr/local/bin/mit-scheme")
    

    Save it and quit. Then restart your Emacs and type M+x and you are in the mit-sheme.

提交回复
热议问题