next up previous
Next: About this document ... Up: MP1 CS603 Organization of Previous: Problem Description

How to Run the Interpreter

As a graduate student, you have access to the lab in EE121. You can also use your Bama account or any other machine if you desire, but you are responsible for compiling the interpreters. The following ftp site contains several versions of the interpreter.
You may encounter problems downloading if your machine doesn't have a DNS entry. I believe this is true for most of the machines in the CS department laboratories.

From a DOS prompt, you can either invoke the CHAP1 program to run an interactive session:

    -> (+ 2 3)
or you can create a file mp1.txt with the text:
    (+ 2 3)
and use IO redirection:
    C:\MSC_EXE>chap1 < mp1.txt
    -> 5