A Formal Definition of Crosscuts

  • Authors:
  • Rémi Douence;Olivier Motelet;Mario Südholt

  • Affiliations:
  • -;-;-

  • Venue:
  • REFLECTION '01 Proceedings of the Third International Conference on Metalevel Architectures and Separation of Crosscutting Concerns
  • Year:
  • 2001

Quantified Score

Hi-index 0.01

Visualization

Abstract

Crosscutting, i.e. relating different program points is one of the key notions of Aspect-Oriented Programming. In this article, we consider a general and operational model for crosscutting based on execution monitors.A domain-specific language for the definition of crosscuts constitutes the core of the article. The semantics of this language is formally defined by means of parser operators matching event patterns in execution traces. We define an operational semantics of the matching process by means of rules relating the operators.The use of the language is exemplified by several sophisticated crosscut detinitions. We sketch a prototype implementation in JAVA which has been systematically derived from the language definition.