Out: Tuesday, October 9, 2007 Due: Tuesday, October 16, 2007 All
programs in this machine problem are to be written in Java using
DemeterJ to generate the abstract data types. Some parts use DJ
to practice structure-shy programming using visitors. Note that
structure-shy programming partially automates the "follow the
grammar" approach that we use in earlier machine problems. In
part 1 you write an interpreter using the "follow the grammar
approach". In Part 2 you compile the same expressions as in part
1 using structure-shy programming with visitors. In part 3 you
extend your compiler by adding an additional operator to your
language. In part 4 you write a visitor for computing the depth
of an expression. It is strongly recommended that you use ssh or
a college Solaris machine to do the hw. This will eliminate many
installation problems. The installation instructions are here:
Simple CCIS installation. If you want to install DemeterJ and DJ
on your own machine, the instructions are here: Complete
installatio