AP/S++: Case-study of a MOP for purposes of software evolution
We study a recent programming paradigm known as Adaptive Programming
(AP) as an ideal candidate for a metaobject protocol (MOP) for
object-oriented programming languages; we call it the AP MOP . The
major benet of the AP MOP is to provide a mechanism for writing
base-level programs in a structure-shy manner. Doing so, the programs
are more robust to changes in the structural aspects of the
applications. We describe AP/S++, an implementation of the AP MOP
using the Scheme-based, object-oriented language S++. AP/S++ is a
compile-time MOP and has no negative effects on the run-time
performance of programs. The contributions of this paper are: (i) to
show a new application for re ection; (ii) to clearly identify the
abstraction boundaries of AP; and (iii) to propose an implementa- tion
of the AP MOP that can easily be reproduced in many object-oriented
programming languages.
© Copyright 1996 Xerox Corporation. All rights reserved.
Download paper.