1. Install MIT-Scheme

# using homebrew
brew install mit-scheme

2. How to code

2.1 REPL

Using terminal

⇒  mit-scheme
MIT/GNU Scheme running under OS X
Type `^C' (control-C) followed by `H' to obtain information about interrupts.

Copyright (C) 2014 Massachusetts Institute of Technology
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Image saved on Wednesday January 4, 2017 at 8:46:32 AM
  Release 9.2 || Microcode 15.3 || Runtime 15.7 || SF 4.41 || LIAR/C 4.118 || Edwin 3.116

1 ]=>

2.2 Emacs


Create ~/.emacs, appending below:

;;;Always do syntax
(global-font-lock-mode 1)

(setq show-paren-delay 0
      show-paren-style 'parentheses)
(show-paren-mode 1)
(setq scheme-program-name "/usr/local/bin/mit-scheme")

Open Emacs, Meta + X, then type run mit-scheme, mostly done.

Next step is create new .scm file in new window (try C+x, d or something similiar). Use C+x C+e to run code.

2.3 Sublime

Install packages Scheme, SchemeREPL.

Edit Menu/ Sublime Text/ Preference/ Browse Packages/ SublimeREPL/ config/ Scheme/ Main.sublime-menu,

# Edit Line 30
"syntax": "Packages/Scheme/Scheme.tmLanguage"

Reboot Sublime, opne your.scm, click Tools/ SublimeREPL/ Scheme/ Scheme, then use Tools/ SublimeREPL/ Eval in REPL/ * to run codes.