Semantic reasoning about feature composition via multiple aspect-weavings
C. Prehofer. GPCE '06: Proceedings of the 5th international conference on Generative programming and component engineering, page 237--242. New York, NY, USA, ACM Press, (2006)
DOI: http://doi.acm.org/10.1145/1173706.1173742
Abstract
In this paper, we consider semantic refinement for feature-oriented programming where components are built from features and weavings, which we use to adapt one feature to the context of another one. We address the question of semantic reasoning about multiple weavings. If we know the effect of feature A on X and of feature B on X, what can we conclude about adding both A and B to X? For this, we define conservative weavings which do not modify the state of another feature. We show that composition of several such weavings is however not compositional as it does not preserve semantics. In particular, weavings must consider that other weavings have already been applied. This explains why it is considerably more difficult to reason about multiple aspect weavings. We show criteria on the dependencies between weavings which allow modular, semantics-preserving application of weavings. This is formalized in a calculus for feature composition and also extended to conditional refinements.
%0 Conference Paper
%1 Prehofer:2006pi
%A Prehofer, Christian
%B GPCE '06: Proceedings of the 5th international conference on Generative programming and component engineering
%C New York, NY, USA
%D 2006
%I ACM Press
%K AOP, FOP
%P 237--242
%R http://doi.acm.org/10.1145/1173706.1173742
%T Semantic reasoning about feature composition via multiple aspect-weavings
%X In this paper, we consider semantic refinement for feature-oriented programming where components are built from features and weavings, which we use to adapt one feature to the context of another one. We address the question of semantic reasoning about multiple weavings. If we know the effect of feature A on X and of feature B on X, what can we conclude about adding both A and B to X? For this, we define conservative weavings which do not modify the state of another feature. We show that composition of several such weavings is however not compositional as it does not preserve semantics. In particular, weavings must consider that other weavings have already been applied. This explains why it is considerably more difficult to reason about multiple aspect weavings. We show criteria on the dependencies between weavings which allow modular, semantics-preserving application of weavings. This is formalized in a calculus for feature composition and also extended to conditional refinements.
%@ 1-59593-237-2
@inproceedings{Prehofer:2006pi,
abstract = {In this paper, we consider semantic refinement for feature-oriented programming where components are built from features and weavings, which we use to adapt one feature to the context of another one. We address the question of semantic reasoning about multiple weavings. If we know the effect of feature A on X and of feature B on X, what can we conclude about adding both A and B to X? For this, we define conservative weavings which do not modify the state of another feature. We show that composition of several such weavings is however not compositional as it does not preserve semantics. In particular, weavings must consider that other weavings have already been applied. This explains why it is considerably more difficult to reason about multiple aspect weavings. We show criteria on the dependencies between weavings which allow modular, semantics-preserving application of weavings. This is formalized in a calculus for feature composition and also extended to conditional refinements.},
added-at = {2007-11-21T19:49:36.000+0100},
address = {New York, NY, USA},
author = {Prehofer, Christian},
biburl = {https://www.bibsonomy.org/bibtex/2072556d862f166ac957e0fc2d06a55a2/kilow},
booktitle = {GPCE '06: Proceedings of the 5th international conference on Generative programming and component engineering},
date-modified = {2007-11-07 17:02:15 +0100},
doi = {http://doi.acm.org/10.1145/1173706.1173742},
interhash = {1c2a11b8fe8968fff6ebdbb2c9ca49a8},
intrahash = {072556d862f166ac957e0fc2d06a55a2},
isbn = {1-59593-237-2},
keywords = {AOP, FOP},
local-url = {../papers/Prehofer2006pi.pdf},
location = {Portland, Oregon, USA},
pages = {237--242},
publisher = {ACM Press},
timestamp = {2007-11-21T19:49:39.000+0100},
title = {Semantic reasoning about feature composition via multiple aspect-weavings},
year = 2006
}