CSCI 250 - Programming Practicum
Spring 2014
Exercise 2: Parsing
- Write an expression evaluator for integer arithmetic.
- Each input line is either an assignment or an expression.
- Handle addition, subtraction, multiplication, and division.
- A skeleton implementation is provided.
- Note that
in its current form, it will fail all of its unit tests. The provided tests
are representative but not exhaustive of its required capabilities.
- Download Grambler
to use as the parser generator. Be sure to make use of its
documentation.