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 条
  • [41] The impact of aspect-oriented programming on formal methods
    Blair, L
    Blair, GS
    OBJECT-ORIENTED TECHNOLOGY: ECOOP'98 WORKSHOP READER, 1998, 1543 : 436 - 436
  • [42] An approach to implementation of aspect-oriented programming for C
    Novikov, E. M.
    PROGRAMMING AND COMPUTER SOFTWARE, 2013, 39 (04) : 194 - 206
  • [43] A comparison of program generation with aspect-oriented programming
    Mezini, M
    Ostermann, K
    UNCONVENTIONAL PROGRAMMING PARADIGMS, 2005, 3566 : 342 - 354
  • [44] 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
  • [45] An approach to implementation of aspect-oriented programming for C
    E. M. Novikov
    Programming and Computer Software, 2013, 39 : 194 - 206
  • [46] Avoiding code pitfalls in Aspect-Oriented Programming
    Santos, Adriano
    Alves, Pericles
    Figueiredo, Eduardo
    Ferrari, Fabian
    SCIENCE OF COMPUTER PROGRAMMING, 2016, 119 : 31 - 50
  • [47] Impact analysis of weaving in aspect-oriented programming
    Shinomi, H
    Tamai, T
    ICSM 2005: PROCEEDINGS OF THE 21ST IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, 2005, : 657 - 660
  • [48] A design rule language for aspect-oriented programming
    Neto, Alberto Costa
    Bonifacio, Rodrigo
    Ribeiro, Marcio
    Pontual, Carlos Eduardo
    Borba, Paulo
    Castor, Fernando
    JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (09) : 2333 - 2356
  • [49] Aspect-oriented Programming for Web Controller Layer
    Hokamura, Keiji
    Nakajima, Shin
    Ubayashi, Naoyasu
    Iwai, Akihito
    APSEC 2008:15TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2008, : 529 - +
  • [50] Aspect-oriented programming with enterprise Java']JavaBeans
    Choi, JP
    FOURTH INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE - PROCEEDINGS, 2000, : 252 - 261