An interpreter for tree form. Uses Java's built-in garbage collection
and run-time to serve as the run-time for the interpreted code.
Outputs profiling information and statistics if you ask nicely.
Currently handles only canonical tree form. It is unclear to me that there
is any benefit to supporting an interpreter for tree with ESEQ, but if
there is enough demand, perhaps I will get around to it.
The interpreter is similar to the quad interpreter. The main differences
are:
- The
Pointer
classes, to handle Tree form's pointers.
- The
TreeInterpreter
class, which is found in
Method.java
. This class is the heart of the interpreter.
- The class loading mechanisms found in the
StaticState
class.
The similarities of the interpreters may warrant eventually unifying them
under a set of common superclasses.
@author C. Scott Ananian
@author Duncan Bryce