Combining Aspect-Oriented and Strategic Programming

被引:3
|
作者
Kalleberg, Karl Trygve [1 ,2 ]
Visser, Eelco [2 ]
机构
[1] Univ Bergen, Dept Informat, POB 7800, N-5020 Bergen, Norway
[2] Univ Utrecht, Inst Informat & Comp Sci, NL-3508 TB Utrecht, Netherlands
关键词
aspect-oriented programming; language extension; rule-based programming; unanticipated extension; strategic programming;
D O I
10.1016/j.entcs.2005.06.035
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Properties such as logging, persistence, debugging, tracing, distribution, performance monitoring and exception handling occur in most programming paradigms and are normally very difficult or even impossible to modularize with traditional modularization mechanisms because they are crosscutting. Recently, aspect-oriented programming has enjoyed recognition as a practical solution for separating these concerns. In this paper we describe an extension to the Stratego term rewriting language for capturing such properties. We show our aspect language offers a concise, practical and adaptable solution for dealing with unanticipated algorithm extension for forward data-flow propagation and dynamic type checking of terms. We briefly discuss some of the challenges faced when designing and implementing an aspect extension for and in a rule-based term rewriting system.
引用
收藏
页码:5 / 30
页数:26
相关论文
共 50 条
  • [1] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 461 - 461
  • [2] Aspect-oriented programming
    Bergmans, L
    Lopes, CV
    [J]. OBJECT-ORIENTED TECHNOLOGY, 1999, 1743 : 288 - 313
  • [3] Aspect-oriented programming
    Kiczales, G
    [J]. ICSE 05: 27th International Conference on Software Engineering, Proceedings, 2005, : 730 - 730
  • [4] Aspect-oriented programming
    Lopes, CV
    Kiczales, G
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES - TOOLS 33, PROCEEDINGS, 2000, : 468 - 468
  • [5] Aspect-oriented programming
    Elrad, Tzilla
    Filman, Robert E.
    Bader, Atef
    [J]. Communications of the ACM, 2001, 44 (10) : 29 - 32
  • [6] Aspect-oriented programming
    Kiczales, G
    Lamping, J
    Mendhekar, A
    Maeda, C
    Lopes, C
    Loingtier, JM
    Irwin, J
    [J]. ECOOP'97: OBJECT-ORIENTED PROGRAMMING, 1997, 1241 : 220 - 242
  • [7] Aspect-oriented programming
    Murphy, C
    Schwanninger, C
    [J]. IEEE SOFTWARE, 2006, 23 (01) : 20 - 23
  • [8] Aspect-Oriented Programming Reloaded
    Rebelo, Henrique
    Leavens, Gary T.
    [J]. PROCEEDINGS OF THE 21ST BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES (SBLP 2017), 2017,
  • [9] Superimpositions and aspect-oriented programming
    [J]. Katz, S. (katz@cs.technion.ac.il), 1600, Oxford University Press (46):
  • [10] Aspect-oriented programming with AspectJ
    Colyer, A
    Clement, A
    [J]. IBM SYSTEMS JOURNAL, 2005, 44 (02) : 301 - 308