JUCS - Journal of Universal Computer Science 14(20): 3307-3332, doi: 10.3217/jucs-014-20-3307
Context-Oriented Programming with the Ambient Object System
expand article infoSebastián González, Kim Mens, Alfredo Cádiz
‡ Université catholique de Louvain, Louvain-la-Neuve, Belgium
Open Access
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.
context-oriented programming, subjective dispatch, multiple dispatch, prototype-based programming, ambient intelligence