Scheme Programming/Using a Scheme interpreter
From Wikibooks, open books for an open world
|
|
This book, module or section is in need of attention. Please improve it in any way you can. Please do not remove this notice until any issues on the discussion page have been resolved. |
On most Unix machines, 'scm' can be installed. This is a Scheme interpreter which adheres to R5RS very well. At the time of writing, I have no experience with other Scheme interpreters on other operating systems.
To invoke the interpreter, simply type 'scm' at the command line. It is common to write your programs into a text file using Vim or emacs, and then load them in using the 'load command':
$ scm > (load "myFile.scm") #<unspecified> >
This page may need to be