Context-oriented programming with the ambient object system
Sebastian Andres Gonzalez Montesinos, Kim Mens, Alfredo Jaime Cadiz Rodriguez · JUCS - Journal of Universal Computer Science · 2008
In this paper we present AmOS, the Ambient Object System that underlies the Ambience programming language. AmOS implements a computation model that supports highly dynamic behaviour adaptation to changing contexts. Apart from being purely object-based, AmOS features first-class closures, multimethods and contexts. Dynamic method scoping through a subjective dispatch mechanism is at the heart of our approach. These features make of AmOS a very simple and elegant paradigm for context-oriented programming.