Context-Oriented Programming with the Ambient Object System
Sebastián González (Université catholique de Louvain, Belgium)
Kim Mens (Université catholique de Louvain, Belgium)
Alfredo Cádiz (Université catholique de Louvain, Belgium)
Abstract: 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.
Keywords: ambient intelligence, context-oriented programming, multiple dispatch, prototype-based programming, subjective dispatch