
This directories contains working skeleton source code 
for assignment III for CSC 330, Spring 2004. 

To run the code, start sml from this directory 
and type: 

CM.make("sources.cm"); 

then: 
I.run("test1.vml-","myout1.vml-");
I.run("test2.vml-","myout2.vml-");


The code scans, parses and interprets 
simple expressions with numerical constants
with infix notation and the usual precedence 
of operators. It only accepts programs 
of a single line and outputs the result. 
Your task is to modify this code to 
create a full interpreter for the full set 
of VML. 

The following files are included: 

Scanner.sig            : signature for the scanner
Parser.sig             : signature for the parser
Interpreter.sig        : signature for the interpreter
Dictionary.sig         : signature for the dictionary 
Order.sig              : signature for types that support ordering 

Scanner.sml            : structure for the scanner
Parser.sml             : structure for the parser
Interpreter.sml        : structure for the interpreter
DictionaryBST.sml      : structure for binary search tree implementation of 
                         dictionary 
StringOrder.sml        : structure for order type for strings

test1.vml-             : test case 1
test2.vml-             : test case 2 
out1.vml-              : output for test case 1
out2.vml-              : output for test case 2
README                 : this file 
sources.cm             : the sml "makefile" for this project 
