How to run Scheme
To run the Scheme interpreter:
% /p/scm/scm (on ector)
% /usr/local/local (on Xinu machines)
To exit:
> (exit) or
> (quit)
To load file filename.scm:
> (load "filename") or
> (load "filename.scm")
Idea: write your program as a text file and load it.
To make comments, notice that
the Scheme interpreter will ignore any line starting
with semicolon( ; ) when it loads a file.
To make a transcript:
>(transcript-on "result")
>
> ... try all test cases
>
>
>(transcript-off)
The "result" file contains everything right after
(transcript-on "result") and before (transcript-off).