How do I get a scheme interpreter working inside Emacs?

浪子不回头ぞ 提交于 2019-11-29 21:05:29

You need to install a Scheme interpreter like MIT Scheme (which is the recommended implementation for going through the SICP exercises). On Ubuntu it comes with a symbolic link called "scheme" which is what Emacs is looking for. You can download it for MacOS X here.

M-x customize-group, then tell it you want to customize scheme. Wander down the page a bit and you'll see "Scheme Program Name", which you can change if your scheme interpreter isn't called scheme.

You may also find Quack useful - http://www.neilvandyke.org/quack/

Even though it doesn't run inside emacs, you might want to consider running PLT Scheme, which is a world-class programming environment for Scheme and which has been designed with lots of tools to help people learn Scheme. Since you're fairly new to emacs it's probably worth the switch. (And check out the PLT Schemers' book, How to Design Programs.)

Look for description of cmuscheme package bundled with Emacs - it provide code evaluation, etc. Quack is also very useful

P.S. i plan to upload (during next 2 days) to my site a second part of article about "Emacs as IDE", that will describe Scheme support in Emacs

I was in your position back in November. I finally got it working and wrote myself directions. Ironically, yesterday I decided to post it as my first article on my website. It's directions for setting up Scheme within Ubuntu, but it might be a handy reference in case you get stuck with something. If nothing else, someone else might find this question and find it useful. Hope it helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!