Adaptive Programming allows developers to write structureshy programs. However, in Adaptive Programming, recursive computations are known to require a good deal of boiler plate code to express. This paper describes perobject visitors; a programming construct that allows developers to write recursive adaptive computations At a higher level of abstracton. without boiler plate code. This paper also describes a prototype implementation for perobject visitors. Categories and Subject Descriptors D.2.2 [Design Tools and Techniques]: Modules and interfaces, Object-oriented design methods; D.3.3 [Language Constructs and Features]: Patterns,Recursion General Terms Design, languages Keywords aspect-oriented programming, temporary intertype declaration, visitor pattern
Ahmed Abdelmeged, Karl J. Lieberherr