AP/S++: Case-study of a MOP for Purposes of Software Evolution

Cristina Lopes, Karl Lieberherr

1996 · 11 citations · 6 references

Concepts

Abstract

We study a recent programming paradigm known as Adaptive Programming (AP) as an ideal candidate for a metaobject protocol (MOP) for objectoriented programming languages; we call it the AP MOP . The major benefit 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 reflection; (ii) to clearly identify the abstraction boundaries of AP; and (iii) to propose an implementation of the AP MOP that can easily be reproduced in many object-oriented programming languages. Partially supported by the National Science Foundation under grant numbers CDA-9015692 (Research Instrumen...

References

6