Expressing component-relating aspects with graph tansformations
Faculty of Sciences. Mathematics and Computer Science
Applications of graph transformations with industrial relevance
2nd International Workshop Applications of Graph Transformation with, Industrial Relevance (AGTIVE 2003), SEP 27-OCT 01, 2003, Charlottesville, VA
, p. 149-162
University of Antwerp
Aspect Oriented Programming (see ) is an attempt to deal with so-called cross-cutting concerns and the tangled code that often results from them. The aim of this paper is to explore the possibility of developing a lightweight rule-based representation of aspects, enabling one to discuss and reason about aspects at a high level of abstraction. It is shown, for a concrete example, that aspects can be represented by graph transformation systems, and that the extension of a base program by an aspect can be viewed as a composition of graph transformation systems. We focus on aspects that do not modify the base program's behavior, but that can only allow or disallow its execution. We elaborate on an aspect concerning synchronization, after which we discuss ways to generalize our approach to other aspects, and to situations where several aspects are combined.