Towards a comprehensive extension of abstract state machines for aspect-oriented specification

被引:0
作者
Dausend, Marcel [1 ]
Raschke, Alexander [1 ]
机构
[1] Univ Ulm, Inst Software Engn & Compiler Construct, Ulm, Germany
关键词
Aspect-orientation; Abstract state machines; Semantics; SEMANTICS;
D O I
10.1016/j.scico.2016.04.007
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the paradigm of aspect-orientation, a developer is able to separate the code of so-called cross-cutting concerns from the rest of the program's logic. This possibility is useful for formal specifications, too. For example, security aspects can be separated from the rest of the specification. Those aspect-oriented specifications often can be more easily reused than extensions that are implemented directly into an existing specification. Another use case is the extension of a specification with new functionality or features. Although this would be possible with refinement too, with aspect-orientation it is not necessary to augment the original specification with "extension points" that can be used for refinement. This paper describes the implementation of the aspect-oriented approach in Abstract State Machines. We introduce an aspect language with its syntax and formal semantics. It allows for specifying pointcuts where an original specification is augmented according to an aspect specification. Besides the general overview of this language extension, some ASM specific features of the realization are depicted in detail. The applicability of aspect oriented specification in the context of ASM is demonstrated by means of examples, e.g. implementing a fading aspect into the light control system specification of a former ASM case study. Finally, the paper gives a brief overview about the developed tool that supports the writing of aspect-oriented ASMs. (C) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:22 / 41
页数:20
相关论文
共 24 条
  • [1] Agostinho S, 2008, ICEIS 2008: PROCEEDINGS OF THE TENTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS, VOL ISAS-2, P129
  • [2] [Anonymous], 1997, A Discipline of Programming
  • [3] [Anonymous], UN MOD LANG UML SUP
  • [4] Semantics of static pointcuts in AspectJ
    Avgustinov, Pavel
    Hajiyev, Elnar
    Ongkingco, Neil
    De Moor, Oege
    Sereni, Damien
    Tibble, Julian
    Verbaere, Mathieu
    [J]. ACM SIGPLAN NOTICES, 2007, 42 (01) : 11 - 23
  • [5] Blair L., 1998, TECH REP
  • [6] Borger E., 2000, J UNIVERS COMPUT SCI, V6, P597
  • [7] Borger Egon, 2003, Abstract State Machines: A Method for High-Level System Design and Analysis
  • [8] Canditt S., 2002, P 1 AOSD WORKSH ASP, P21
  • [9] MiniMAO1:: An imperative core language for studying aspect-oriented reasoning
    Clifton, Curtis
    Leavens, Gary T.
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2006, 63 (03) : 321 - 374
  • [10] Dausend M., 2011, 201107 ULM U