Sublime Text is a sophisticated text editor for code, markup and prose.
You’ll love the slick user interface, extraordinary features and amazing performance.
while
Scheme is a functional programming language and one of the two main dialects of the programming language Lisp. Unlike Common Lisp, the other main dialect, Scheme follows a minimalist “Minimalism (computing)”) design philosophy specifying a small standard core with powerful tools for language extension.
Maybe Sublime Text is your favirate editor, reading
Below steps can give you a reference guide about how to setup it:
LISP Scheme Interpreter Installation
- Install LISP scheme interpreter - SCM. there are several interpreter for scheme - DrRacket, MIT-Scheme. but SCM may be the easist one to integrate with Sublime.
- Add scm bin folder into your system path. e.g. 1set PATH = %PATH%; C:\Program Files (x86)\scm\
then verify it using command line
|
|
REPL installation in Sublime Text 3
Open the package installation of Sublime Text, if not install yet, plz try Tools -> Install Package Control
Install Package “Scheme”
Install Package “SublimeREPL”
Then, open Preferences -> Browse Packages -> SublimeREPL -> config -> Scheme -> Main.sublime-menu, edit the section with the “id”: “repl_scheme” :
1"windows": ["scm", "-f", "$file_basename"]}Save and restart Sublime Text, choose the target file, Open Tools -> Build System, you may find “Scheme” is auto selected. if not, plz choose “Scheme”
Try build/run the file via Tools -> Build
If you meet error like “File Not Find”, [“gsi”,”-:d-“,”your-file-path”], it may be caused that your configuration are override by Scheme package. then you may go to C:\Users\Adminstrator\AppData\Roaming\Sublime Text 3\Installed Packages, find the scheme package “Scheme.sublime-package”, unzip it and modify the startup command line in the file “Scheme.sublime-build”, change it to :
|
|