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 条
  • [31] A semantics for advice and dynamic join points in aspect-oriented programming
    Wand, M
    Kiczales, G
    Dutchyn, C
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2004, 26 (05): : 890 - 910
  • [32] What Does Aspect-Oriented Programming Mean for Functional Programmers?
    Wang, Meng
    Oliveira, Bruno C. d. S.
    WGP'09: PROCEEDINGS OF THE 2009 ACM SIGPLAN WORKSHOP ON GENERIC PROGRAMMING, 2009, : 37 - 48
  • [33] Using Sequence Diagram to support Aspect-Oriented Programming in MDA
    Zhang, Jingjun
    Chen, Yuejuan
    Liu, Guangyuan
    Li, Hui
    2009 INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS, VOL 1, PROCEEDINGS, 2009, : 359 - +
  • [34] A Modular Aspect-Oriented Programming Approach of Join Point Interfaces
    Vidal, Cristian
    Madariaga, Erika
    Jimenez, Claudia
    Carte, Luis
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (08) : 569 - 574
  • [35] STUDY OF UNIT AND DATA FLOW TESTING IN OBJECT-ORIENTED AND ASPECT-ORIENTED PROGRAMMING
    Chandra, Alaknanda
    Singhal, Abhishek
    2016 1ST INTERNATIONAL CONFERENCE ON INNOVATION AND CHALLENGES IN CYBER SECURITY (ICICCS 2016), 2016, : 245 - 250
  • [36] Execution levels for aspect-oriented programming: Design, semantics, implementations and applications
    Tanter, Eric
    Figueroa, Ismael
    Tabareau, Nicolas
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 80 : 311 - 342
  • [37] Coupling Metrics for Aspect-Oriented Programming: A Systematic Review of Maintainability Studies
    Burrows, Rachel
    Garcia, Alessandro
    Taiani, Francois
    EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2010, 69 : 277 - +
  • [38] Aspect-oriented programming for dynamic web service selection, integration and management
    Cibran, Maria Agustina
    Verheecke, Bart
    Vanderperren, Wim
    Suvee, Davy
    Jonckers, Viviane
    WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2007, 10 (03): : 211 - 242
  • [39] Developing control logic using aspect-oriented programming and sequence planning
    Bengtsson, Kristofer
    Lennartson, Bengt
    Ljungkrantz, Oscar
    Yuan, Chengyin
    CONTROL ENGINEERING PRACTICE, 2013, 21 (01) : 12 - 22
  • [40] Aspect-oriented programming for reactive systems: Larissa, a proposal in the synchronous framework
    Altisen, K.
    Maraninchi, F.
    Stauch, D.
    SCIENCE OF COMPUTER PROGRAMMING, 2006, 63 (03) : 297 - 320