Filters








65 Hits in 1.8 sec

Reflective layer activation in ContextL

Pascal Costanza, Robert Hirschfeld
2007 Proceedings of the 2007 ACM symposium on Applied computing - SAC '07  
Expressing layer dependencies in Context-oriented Programming is cumbersome because until now no facility has been introduced to control the activation and deactivation of layers.  ...  This allows expressing complex application-defined dependencies between layers where the activation or deactivation of a layer requires the activation or deactivation of another one.  ...  efficiency comparable to that already reported before, we have extended the implementation of ContextL with reflective layer activation based on the interface described in this section.  ... 
doi:10.1145/1244002.1244279 dblp:conf/sac/CostanzaH07 fatcat:xj5jv33hqbh53hqzq5i3egljxa

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  
The performance evaluation of the language implementations is presented in Section 4. Section 5 summarizes the paper.  ...  In this paper, we provide a comparison of eleven COP implementations, discuss their designs, and evaluate their performance. Section 2 wraps up the COP paradigm and the surveyed languages.  ...  Acknowledgments We are grateful to Pascal Costanza for valuable discussions and his help on the ContextL benchmarks.  ... 
doi:10.1145/1562112.1562118 dblp:conf/ecoop/AppeltauerHHLP09 fatcat:gw42xhsitvb6ncc33twdb7xcdm

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

Pascal Costanza, Robert Hirschfeld, Wolfgang De Meuter
2006 Lecture Notes in Computer Science  
In this model, programs can be partitioned into layers that can be dynamically activated and deactivated depending on their execution context.  ...  Layers are sets of partial program definitions that can be composed in any order.  ...  Note that this allows the implementation to reflect the order in which layers are activated and deactivated: Whenever a layer is activated, it is ensured that it will be placed in front of all other already  ... 
doi:10.1007/11860990_7 fatcat:tbjxx3gicnemplkbjnvl72suya

Context-oriented software transactional memory in common lisp

Pascal Costanza, Charlotte Herzeel, Theo D'Hondt
2009 Proceedings of the 5th symposium on Dynamic languages - DLS '09  
This paper presents CSTM, an STM framework based on Context-oriented Prorgamming, in which transactions are modelled as dynamically scoped layer activations.  ...  This paper presents a proof-of-concept implementation based on ContextL for Common Lisp, along with example STM strategies and preliminary benchmarks, and introduces some of ContextL's unique features  ...  Charlotte Herzeel's research is funded by a doctoral scholarship of the Institute for the Promotion of Innovation through Science and Technology in Flanders (IWT-Vlaanderen).  ... 
doi:10.1145/1640134.1640144 dblp:conf/dls/CostanzaHD09 fatcat:b2mfqyivxfeyvhf2vukky2dlby

Context-oriented software transactional memory in common lisp

Pascal Costanza, Charlotte Herzeel, Theo D'Hondt
2009 SIGPLAN notices  
This paper presents CSTM, an STM framework based on Context-oriented Prorgamming, in which transactions are modelled as dynamically scoped layer activations.  ...  This paper presents a proof-of-concept implementation based on ContextL for Common Lisp, along with example STM strategies and preliminary benchmarks, and introduces some of ContextL's unique features  ...  Charlotte Herzeel's research is funded by a doctoral scholarship of the Institute for the Promotion of Innovation through Science and Technology in Flanders (IWT-Vlaanderen).  ... 
doi:10.1145/1837513.1640144 fatcat:wlyoiwduvzejtcybrwfz5z7zae

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

Robert Hirschfeld, Pascal Costanza, Michael Haupt
2008 Lecture Notes in Computer Science  
Our paper illustrates COP constructs, their application, and their implementation by developing a sample scenario, using ContextS in the Squeak/Smalltalk programming environment.  ...  Efficient Layer Activation for Switching Context-dependent Behavior Reflective Layer Activation in ContextL Context-oriented Programming [14] .  ...  In ContextL, layered classes, slots and functions can be accumulated in layers.  ... 
doi:10.1007/978-3-540-88643-3_9 fatcat:da6dyba3hfgknaq3ruvwct6bmu

Context-oriented programming

Martin von Löwis, Marcus Denker, Oscar Nierstrasz
2007 Proceedings of the 2007 international conference on Dynamic languages in conjunction with the 15th International Smalltalk Joint Conference 2007 - ICDL '07  
in the code. • The notion of layered slots in ContextL allows a higher-order reflective programming style to integrate crosscutting concerns.  ...  In support of this claim, we argue that the dynamic representation of layers and their scoped activation and deactivation in arbitrary places of the code are the essential ingredients for COP.  ...  In the figure editor example, a reflective hook is used for intercepting slot accesses.  ... 
doi:10.1145/1352678.1352688 dblp:conf/smalltalk/LowisDN07 fatcat:4fes45qvx5gm5ndb3q6ql4scvm

Context-oriented programming: A software engineering perspective

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2012 Journal of Systems and Software  
The COP paradigm tackles the issue of developing context-aware systems at the language-level, introducing ad-hoc language abstractions to manage adaptations modularization and their dynamic activation.  ...  In this paper we review the state of the art in the field of COP in the perspective of the benefits that this technique can provide to software engineers in the design and implementation of context-aware  ...  Implements implicit layer activation. [23] ContextL Common Lisp First layer-based COP language. Introduces the concepts of layer and dynamically scoped activation.  ... 
doi:10.1016/j.jss.2012.03.024 fatcat:eukxz6n635b2ligscz6ih77fmi

Beyond static and dynamic scope

Éric Tanter
2009 Proceedings of the 5th symposium on Dynamic languages - DLS '09  
The model, called scoping strategies, gives precise control over propagation and activation of language mechanisms.  ...  We also briefly discuss its application to mixin layers, and program monitoring.  ...  On the other hand, ContextL [5] introduces the idea of activating class extensions only in the dynamic extent of the body of with-active-layer expressions.  ... 
doi:10.1145/1640134.1640137 dblp:conf/dls/Tanter09 fatcat:ogyusjep2bfgxplavaictipa34

Beyond static and dynamic scope

Éric Tanter
2009 SIGPLAN notices  
The model, called scoping strategies, gives precise control over propagation and activation of language mechanisms.  ...  We also briefly discuss its application to mixin layers, and program monitoring.  ...  On the other hand, ContextL [5] introduces the idea of activating class extensions only in the dynamic extent of the body of with-active-layer expressions.  ... 
doi:10.1145/1837513.1640137 fatcat:xawgzuidcnbpzjcls4bp6soyr4

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

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2012 arXiv   pre-print
We introduce context-oriented programming languages and we present a framework that positions the supported paradigm in the MAPE-K autonomic loop.  ...  Several approaches have been proposed in the literature to attack this problem at different and complementary abstraction levels: software architecture, middleware, and programming level.  ...  proper layer activation in a fully automated manner.  ... 
arXiv:1105.0069v2 fatcat:7bapc4akqrebtb35e7pi66ag5a

JavaCtx

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2011 Proceedings of the 3rd International Workshop on Context-Oriented Programming - COP '11  
Both of these points allow to seamless integrate JAVACTX in the existing industrial-strength appliances and so ease the development of context-oriented software in consolidated industrial settings.  ...  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.  ...  Another current limitation of JAVACTX is the lack of a reflection API allowing to inspect active layers and possibly to reflectively change the current layer configuration.  ... 
doi:10.1145/2068736.2068740 dblp:conf/ecoop/SalvaneschiGP11 fatcat:ee42sufa75cbtefvc3ll4mxinm

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

Guido Salvaneschi, Carlo Ghezzi, Matteo Pradella
2011 arXiv   pre-print
Both these points allow to seamless integrate JavaCtx in the existing industrial-strength appliances and by far ease the development of context-oriented software.  ...  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.  ...  Another current limitation of Java�tx is the lack of a reflection API allowing to inspect active layers and possibly to reflectively change the current layer configuration.  ... 
arXiv:1104.1351v1 fatcat:c7y3tlmbejbwza2shd5tkesvy4

Declarative Layer Composition with The JCop Programming Language

Malte Appeltauer, Robert Hirschfeld, Jens Lincke
2013 Journal of Object Technology  
In this article, we discuss crosscutting layer composition in frameworkbased applications in detail.  ...  With context-oriented programming (COP), context-dependent behavior can be explicitly modularized and dynamically activated.  ...  The perspective allows for layer activation similar to ContextL. Us does not support implicit activation of layers.  ... 
doi:10.5381/jot.2013.12.2.a4 fatcat:4azd7ptwfngfposwxogdmixo7e

ContextJ: Context-oriented Programming with Java

Malte Appeltauer, Robert Hirschfeld, Michael Haupt, Hidehiko Masuhara
2011 Information and Media Technologies  
It properly integrates COP's layer concept into the Java type system. ContextJ is compiler-based.  ...  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.  ...  First, we access the current composition (Line 3) and retrieve an array Use of reflection API. of all active layers (Line 4).  ... 
doi:10.11185/imt.6.399 fatcat:khkvzubqizhibkstea7eyppd2y
« Previous Showing results 1 — 15 out of 65 results