Sublime Text 2 with MIT Scheme

拥有回忆 提交于 2019-12-03 10:14:47

问题


Does anyone know how i could use sublime text 2 with scheme. I've heard ST2 and I want to try it out? right now I'm learning scheme. I have the scheme interpreter installed - I can go to the terminal and type in scheme and run code. I can also run the interpreter in emacs, but emacs isn't really fun.


回答1:


It's probably a little bit late but I'd still like to share my experience...

Now I'm using Sublime Text 2 and using Scheme fine.

First install the package "Scheme" through package control.

Then install the package "SublimeREPL" (for Sublime Text 2).

Then you should have a fully functioning Scheme environment in your Sublime! Syntax highlight is good, and use SublimeREPL for a interactive Scheme prompt.




回答2:


I wish my answer would help you~ My solution isn't to use Mit-Scheme but DrScheme,and the specific process is as following:

  1. Download PLT-Scheme and install it (http://download.plt-scheme.org/).
  2. Add its installation path to environment variables "Path".
  3. Install the package "SublimeREPL"
  4. Find the file "Sublime Text 2\Packages\SublimeREPL\config\Scheme\Main.sublime-menu",
    open with Sublime Text 2. Find the code:
"cmd": {"linux": ["scheme"],
        "osx": ["scheme"],
        "windows": ["scheme"]},

and change it :

"cmd": {"linux": ["scheme"],
        "osx": ["scheme"],
        "windows": ["scheme"]},

pic

Save.

  1. Open Sublime Text 2,ctrl+shift+p,and enter scheme,press Enter

Enjoy it!



来源:https://stackoverflow.com/questions/13221293/sublime-text-2-with-mit-scheme

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