next up previous
Next: try.cc Up: Program Files Previous: interpreter.h

interpreter.cc

File interpreter.cc implements the methods of the interpreter class.

interpreter.cc[28] :
#include <iostream.h>
#include "abstree.h"
#include "interpreter.h"

Interpret VisitCompoundStm and VisitEseqExp rules[21]
Interpret the AssignStm and IdExp rules[16]
Interpret the PrintStm rule[17]
Interpret the NumExp and OpExp rules[13]
Interpret the PairExpList and LastExpList rules[20]
Interpret any rule whose left-hand-side symbol is Binop[14](`Plus',`+')
Interpret any rule whose left-hand-side symbol is Binop[14](`Minus',`-')
Interpret any rule whose left-hand-side symbol is Binop[14](`Times',`*')
Interpret any rule whose left-hand-side symbol is Binop[14](`Div',`/')
This macro is attached to a product file.



William Waite
1998-08-30