Filters








57 Hits in 2.1 sec

Language constructs for context-oriented programming

Pascal Costanza, Robert Hirschfeld
2005 Proceedings of the 2005 conference on Dynamic languages symposium - DLS '05  
ContextL is an extension to the Common Lisp Object System that allows for Context-oriented Programming.  ...  This has the effect that the behavior of a program can be modified according to the context of its use without the need to mention such context dependencies in the affected base program.  ...  Context-oriented Programming ContextL is one of the first programming language extensions that explicitly supports a programming style that we call Context-oriented Programming. 2 It is an extension  ... 
doi:10.1145/1146841.1146842 dblp:conf/dls/CostanzaH05 fatcat:pszalexexncwbbrlf5zpy7n3ou

A comparison of context-oriented programming languages

Malte Appeltauer, Robert Hirschfeld, Michael Haupt, Jens Lincke, Michael Perscheid
2009 International Workshop on Context-Oriented Programming - COP '09  
Context-oriented programming (COP) extensions have been implemented for several languages.  ...  Each concrete language design and implementation comes with different variations of the features of the COP paradigm.  ...  LispWorks Ltd. kindly provided an evaluation license of LispWorks R 64-bit for Macintosh for testing purposes.  ... 
doi:10.1145/1562112.1562118 dblp:conf/ecoop/AppeltauerHHLP09 fatcat:gw42xhsitvb6ncc33twdb7xcdm

An Introduction to Context-Oriented Programming with ContextS [chapter]

Robert Hirschfeld, Pascal Costanza, Michael Haupt
2008 Lecture Notes in Computer Science  
Context-oriented Programming, or COP, provides programmers with dedicated abstractions and mechanisms to concisely represent behavioral variations that depend on execution context.  ...  Our paper illustrates COP constructs, their application, and their implementation by developing a sample scenario, using ContextS in the Squeak/Smalltalk programming environment.  ...  Acknowledgements We thank Marcus Denker, Tudor Girba, Robert Krahn, Dave Thomas, and Jan Wloka for their fruitful discussions and valuable contributions, and Ralf Lämmel for his patience.  ... 
doi:10.1007/978-3-540-88643-3_9 fatcat:da6dyba3hfgknaq3ruvwct6bmu

Context-Oriented Programming: A Programming Paradigm for Autonomic Systems [article]

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2012 arXiv   pre-print
We discuss the advantages of using context-oriented programming languages instead of other mainstream approaches based on dynamic aspect oriented programming languages and present a case study that shows  ...  We introduce context-oriented programming languages and we present a framework that positions the supported paradigm in the MAPE-K autonomic loop.  ...  However, we will show that context-oriented programming (COP) allows for better design-for-dynamic-adaptation approaches than DAOP.  ... 
arXiv:1105.0069v2 fatcat:7bapc4akqrebtb35e7pi66ag5a

Context-oriented programming: A software engineering perspective

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2012 Journal of Systems and Software  
Context-oriented programming (COP) is emerging as a novel paradigm for the implementation of this kind of software, in particular in the field of mobile and ubiquitous computing.  ...  It can also be supported by suitable constructs at the programming language level.  ...  Flavors of Context-Oriented Programming In this section we present COP in more detail, discussing an overview of the features of the available implementations and the variations to the basic model described  ... 
doi:10.1016/j.jss.2012.03.024 fatcat:eukxz6n635b2ligscz6ih77fmi

ContextJ: Context-oriented Programming with Java

Malte Appeltauer, Robert Hirschfeld, Michael Haupt, Hidehiko Masuhara
2011 Information and Media Technologies  
Context-oriented programming (COP) allows for the modularization of context-dependent behavioral variations.  ...  In this paper, we present the ContextJ language and explain its constructs and semantics. Further, we give an overview of the implementation of our compiler and discuss run-time benchmarks.  ...  Acknowledgments We thank Pascal Costanza for his initial work and fruitful discussions on ContextJ, Marvin Killing for his help on CJEdit, and Michael Perscheid for comments on drafts of this paper.  ... 
doi:10.11185/imt.6.399 fatcat:khkvzubqizhibkstea7eyppd2y

JavaCtx: Seamless Toolchain Integration for Context-Oriented Programming [article]

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2011 arXiv   pre-print
Context-oriented programming is an emerging paradigm addressing at the language level the issue of dynamic software adaptation and modularization of context-specific concerns.  ...  In this paper we propose JavaCtx, a tool which employs coding conventions to generate the context-aware semantics for Java programs and subsequently weave it into the application.  ...  An overview of the more advanced constructs, for example the recent advances in event-driven context transitions is beyond the scope of this introduction.  ... 
arXiv:1104.1351v1 fatcat:c7y3tlmbejbwza2shd5tkesvy4

JavaCtx

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2011 Proceedings of the 3rd International Workshop on Context-Oriented Programming - COP '11  
Context-oriented programming is an emerging paradigm addressing at the language level the issue of dynamic software adaptation and modularization of context-specific concerns.  ...  The contribution of JAVACTX is twofold: the design of a set of coding conventions which allow to write context-oriented software in plain Java and the concept of context-oriented semantics injection, which  ...  RELATED WORK Context-oriented programming have been firstly proposed in the pioneering work of Costanza and Hirschfeld [13] on ContextL, an extension of Common Lisp based on the CLOS metaobject protocol  ... 
doi:10.1145/2068736.2068740 dblp:conf/ecoop/SalvaneschiGP11 fatcat:ee42sufa75cbtefvc3ll4mxinm

Dedicated Programming Support for Context-Aware Ubiquitous Applications

Malte Appeltauer, Robert Hirschfeld, Tobias Rho
2008 2008 The Second International Conference on Mobile Ubiquitous Computing, Systems, Services and Technologies  
It presents an overview of our COP extension to the Java programming language and a scenario of a context-oriented mobile application.  ...  This paper motivates Context-oriented Programming (COP) for ubiquitous computing.  ...  Acknowledgments The authors thank Michael Haupt, Robert Krahn, Jens Lincke, and Daniel Speicher for valuable discussions and comments on drafts of this paper.  ... 
doi:10.1109/ubicomm.2008.56 fatcat:5csiytx4gbgwxpqwjtwu3w3h3q

Efficient Layer Activation for Switching Context-Dependent Behavior [chapter]

Pascal Costanza, Robert Hirschfeld, Wolfgang De Meuter
2006 Lecture Notes in Computer Science  
This paper presents the design and implementation of programming language extensions that explicitly support our vision of Context-oriented Programming.  ...  We illustrate the performance of our implementation by providing an alternative solution for one of the prominent examples of aspect-oriented programming.  ...  Wasilko, and JonL White for fruitful discussions and valuable contributions.  ... 
doi:10.1007/11860990_7 fatcat:tbjxx3gicnemplkbjnvl72suya

Declarative Layer Composition with The JCop Programming Language

Malte Appeltauer, Robert Hirschfeld, Jens Lincke
2013 Journal of Object Technology  
With context-oriented programming (COP), context-dependent behavior can be explicitly modularized and dynamically activated.  ...  The available COP implementations offer language constructs that allow to describe context-dependent functionality and to specify for which control flows this functionality should be executed.  ...  Conclusions Context-oriented programming (COP) addresses the representation of context-dependent behavioral variations, which often crosscut other concerns of an application.  ... 
doi:10.5381/jot.2013.12.2.a4 fatcat:4azd7ptwfngfposwxogdmixo7e

Concepts and Concept-Oriented Programming

Alexandr Savinov
2008 Journal of Object Technology  
In the paper we introduce a new programming language construct, called concept, which is defined as a pair of two classes: one reference class and one object class.  ...  Each concept has a parent concept specified by means of the concept inclusion relation. This approach where concepts are used instead of classes is referred to as concept-oriented programming (CoP).  ...  For example, in the ContextL programming language it is done by means of the keyword 'in-layer' while in CoP we use 'in' which generalizes inheritance and 'super' to access the context.  ... 
doi:10.5381/jot.2008.7.3.a2 fatcat:gnbjoqxitzhxbbzw5hyjosebfu

The Puzzle Approach for Designing Context-Enabled Applications

Brecht Desmet, Kristof Vanhaesebrouck, Jorge Vallejos, Pascal Costanza, Wolfgang De Meuter
2007 Chilean Computer Science Society (SCCC), Proceedings of the International Conference of the  
It consists of a language-independent, conceptual domain model to define the functionalities of context-enabled applications.  ...  Context-enabled applications adapt their behaviour according to the context of use. We observe that this kind of applications imply a severe increase of runtime variability.  ...  Brief introduction to ContextL We implement the context-aware cell phone in the ContextL programming language. ContextL is an extension of the objectoriented programming facilities of Common Lisp.  ... 
doi:10.1109/sccc.2007.4396974 fatcat:y3s7hccceff63eymkjv3n5pnam

The Puzzle Approach for Designing Context-Enabled Applications

Brecht Desmet, Kristof Vanhaesebrouck, Jorge Vallejos, Pascal Costanza, Wolfgang De Meuter
2007 XXVI International Conference of the Chilean Society of Computer Science (SCCC'07)  
It consists of a language-independent, conceptual domain model to define the functionalities of context-enabled applications.  ...  Context-enabled applications adapt their behaviour according to the context of use. We observe that this kind of applications imply a severe increase of runtime variability.  ...  Brief introduction to ContextL We implement the context-aware cell phone in the ContextL programming language. ContextL is an extension of the objectoriented programming facilities of Common Lisp.  ... 
doi:10.1109/sccc.2007.18 dblp:conf/sccc/DesmetVVCM07 fatcat:f47hptlac5cajpqikyrdm7s7zq

Towards safe and flexible object adaptation

Tetsuo Kamina, Tetsuo Tamai
2009 International Workshop on Context-Oriented Programming - COP '09  
In this paper, a programming language NextEJ is proposed. NextEJ is based on Epsilon model, which realizes object adaptation to contexts.  ...  In the case of multiple context activations, the reference of thisContext is interpreted as a composite context whose behavior is determined by the order of activations.  ...  This work is supported in part by Grant-in-Aid for Scientific Research No.18200001 and Grant-in-Aid for Young Scientists (B) No.20700022 from NEXT of Japan.  ... 
doi:10.1145/1562112.1562116 dblp:conf/ecoop/KaminaT09 fatcat:pvdrobobordhpctqp4t53lzfxe
« Previous Showing results 1 — 15 out of 57 results