Up: CENG-111 Introduction to Computer Previous: Wildcards

Scheme

/subsectionUsing scheme

To enter the mit-scheme interpreter, first login to the systems in our department, then give the command 'scheme'.

After a while (it takes time to load the program from network), your screen will clear and you will get a prompt like below.

Scheme saved on Sunday November 21, 1993 at 9:15:23 PM
  Release 7.3.1
  Microcode 11.146
  Runtime 14.166

1 ]=>

The number in the prompt shows the level of the interpreter. You should work in the first level. To return back to first level from higher levels, press Ctrl-g key. Higher levels will be used later for debugging. For further information on control keys, press Ctrl-c key and ? key.

When you want to load a file (let the interpreter interpret the lines in that file) write the command (load "filename") in the interpreter.

To exit from the scheme interpreter, use the Ctrl-d key.