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.
ftp://a.cs.uiuc.edu/pub/faculty/kamin/uiuc/kamin.distr
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:

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



2002-01-12