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
    Kiczales, G
    ICSE 05: 27th International Conference on Software Engineering, Proceedings, 2005, : 730 - 730
  • [2] Aspect-Oriented Programming Reloaded
    Rebelo, Henrique
    Leavens, Gary T.
    PROCEEDINGS OF THE 21ST BRAZILIAN SYMPOSIUM ON PROGRAMMING LANGUAGES (SBLP 2017), 2017,
  • [3] Cooperative aspect-oriented programming
    Hoffman, Kevin
    Eugster, Patrick
    SCIENCE OF COMPUTER PROGRAMMING, 2009, 74 (5-6) : 333 - 354
  • [4] The paradoxical success of aspect-oriented programming
    Steimann, Friedrich
    ACM SIGPLAN NOTICES, 2006, 41 (10) : 481 - 497
  • [5] Aspect-oriented programming and modular reasoning
    Kiczales, G
    Mezini, M
    ICSE 05: 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2005, : 49 - 58
  • [6] Security through aspect-oriented programming
    De Win, B
    Vanhaute, B
    De Decker, B
    ADVANCES IN NETWORK AND DISTRIBUTED SYSTEMS SECURITY, 2001, 78 : 125 - 138
  • [7] On Aspect-Oriented Programming in Adaptive User Interfaces
    Sebek, Jiri
    Trnka, Michal
    Cerny, Tomas
    2015 2ND INTERNATIONAL CONFERENCE ON INFORMATION SCIENCE AND SECURITY (ICISS), 2015, : 147 - 151
  • [8] Flexible and efficient profiling with aspect-oriented programming
    Binder, Walter
    Ansaloni, Danilo
    Villazon, Alex
    Moret, Philippe
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2011, 23 (15) : 1749 - 1773
  • [9] Performance Evaluation of Aspect-Oriented Programming Weavers
    Soares, Michel S.
    Maia, Marcelo A.
    Silva, Rodrigo F. G.
    ENTERPRISE INFORMATION SYSTEMS, ICEIS 2014, 2015, 227 : 187 - 203
  • [10] Avoiding code pitfalls in Aspect-Oriented Programming
    Santos, Adriano
    Alves, Pericles
    Figueiredo, Eduardo
    Ferrari, Fabian
    SCIENCE OF COMPUTER PROGRAMMING, 2016, 119 : 31 - 50