Forward chaining in HALO: an implementation strategy for history-based logic pointcuts

  • Authors:
  • Charlotte Herzeel;Kris Gybels;Pascal Costanza;Coen De Roover;Theo D'Hondt

  • Affiliations:
  • Vrije Universiteit Brussel;Vrije Universiteit Brussel;Vrije Universiteit Brussel;Vrije Universiteit Brussel;Vrije Universiteit Brussel

  • Venue:
  • ICDL '07 Proceedings of the 2007 international conference on Dynamic languages: in conjunction with the 15th International Smalltalk Joint Conference 2007
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

In aspect-oriented programming, pointcuts are formulated as conditions over the context of dynamic events in the execution of a program. Hybrid pointcut languages also allow this context to come from interaction between the pointcut language and the base program. While some pointcut languages only allow conditions on the current execution event, more recent proposals have demonstrated the need for expressing conditions over a history of joinpoints. Such pointcut languages require means to balance the expressiveness of the language with the additional memory and runtime overhead caused by keeping a history of joinpoint context data. In this paper, we introduce a logic-based pointcut language that allows interaction with the base program as well as pointcuts over a history of joinpoints. We introduce forward chaining as an implementation model for this language, and discuss possible optimization strategies for the additional overhead.