Due April 5, 1999 before class

This is a warm-up assignment to make sure everybody is up to speed with Java and to introduce a baby interpreter. We will write an interpreter for arithmetic expressions:
Exp ::= Int | Exp + Exp | Exp - Exp | Exp * Exp | Exp / Exp 
I don't care about parsing in this class, so don't waste your time writing a parser. Here what I want you to do: Think hard about the design of the interpreter. Try to write the most elegant solution you can think of. Explain your design!
Page visited times since March 23, 1999.

sabry@cs.uoregon.edu