MiniML Evaluator

Due Thursday, January 20, at the start of class

In this assignment, you will build an evaluator for MiniML, which is a subset of SML. You will start from a partial implementation that already includes a read-eval-print-loop user interface, a parser from text to abstract syntax trees (ASTs), a representation of the possible values resulting from evaluation, and various pretty-printing functions for ASTs and values. The partial implementation is available in /cse/courses/cse505/05wi/hw1. There is a skeleton for the evaluator (in file eval.sml), with a few cases implemented to get you started; you need to complete the implementation of the evaluator. The current evaluator raises ImplementMe in all cases that you need to write; your finished solution should not raise ImplementMe anywhere. (In the next project assignment, you'll add a type inferencer to the MiniML implementation.)

Some notes:

Each student should complete the assignment independently.

To turn in your completed assignment, send an email to both klee@cs and miker@cs with each of your changed  files attached.


chambers@cs.washington.edu