Orbaek's work demonstrates that the AP ideas are easy to implement and can be readily used in new tools. The program is much smaller than the Demeter Tools/C++ (only about 1000 lines long) and focusses on the key concepts without the bells and whistles of the Demeter Tools/C++. It can be called with
adapt -og expr.class expr.progwhere expr.class is a class graph and expr.prog is an adaptive program. Demeter/Perl generates a runnable Perl 5 module.
The Demeter/Perl compiler is at URL
ftp://ftp.daimi.aau.dk/pub/empl/poe/adapt-1.0.tar.gzand is also available in expanded form, including a simple example.
The concepts behind the compiler are explained in [ Adaptive Programming Book ]. You will note that Demeter/Perl uses a simplified traversal pattern notation which was proposed by Crista Lopes and Jens Palsberg. It leads to a very simple, general compiler.
Karl J. Lieberherr College of Computer Science, Northeastern University Cullinane Hall, Boston, MA 02115 Internet: lieberherr@ccs.neu.edu Fax: (617) 373 5121