Dynamic contracts for adaptive specification

被引:0
|
作者
Huizing, C [1 ]
Kuiper, R [1 ]
机构
[1] Tech Univ Eindhoven, Dept Math & Comp Sci, NL-5600 MB Eindhoven, Netherlands
关键词
specification; correctness; object orientation; fragile base class; design patterns;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a novel approach to the reuse of classes and specifications. To match the flexibility provided at implementation level by notions like inheritance, we propose Dynamic Contracts to extend the expressiveness of specification assertions. We also show that a stronger notion of behavioural subtyping is necessary in this setting and for this purpose provide Reinforced Behavioural Subtyping. We show that the resulting formalism can handle the Fragile Base Class problem and can specify the behaviour associated with the Observer Design Pattern.
引用
收藏
页码:95 / 101
页数:7
相关论文
共 50 条
  • [1] On the Specification of Full Contracts
    Fenech, Stephen
    Pace, Gordon J.
    Okika, Joseph C.
    Ravn, Anders P.
    Schneider, Gerardo
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 253 (01) : 39 - 55
  • [2] Compositional specification of commercial contracts
    Jesper Andersen
    Ebbe Elsborg
    Fritz Henglein
    Jakob Grue Simonsen
    Christian Stefansen
    [J]. International Journal on Software Tools for Technology Transfer, 2006, 8 (6) : 485 - 516
  • [3] Specification and negotiation in incomplete contracts
    An, Yonghong
    Tang, Xun
    [J]. RAND JOURNAL OF ECONOMICS, 2019, 50 (01): : 57 - 92
  • [4] A Controlled Language for the Specification of Contracts
    Pace, Gordon J.
    Rosner, Michael
    [J]. CONTROLLED NATURAL LANGUAGE, 2010, 5972 : 226 - +
  • [5] Challenges in the Specification of Full Contracts
    Pace, Gordon J.
    Schneider, Gerardo
    [J]. INTEGRATED FORMAL METHODS, PROCEEDINGS, 2009, 5423 : 292 - +
  • [6] Complete contracts through specification drivers
    Naumchev, Alexandr
    Meyer, Bertrand
    [J]. 2016 10TH INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE), 2016, : 160 - 167
  • [7] OPTICAL SETTLEMENT SPECIFICATION ON FUTURES CONTRACTS
    LIEN, DHD
    [J]. JOURNAL OF FUTURES MARKETS, 1989, 9 (04) : 355 - 358
  • [8] Specification and analysis of legal contracts with Symboleo
    Parvizimosaed, Alireza
    Sharifi, Sepehr
    Amyot, Daniel
    Logrippo, Luigi
    Roveri, Marco
    Rasti, Aidin
    Roudak, Ali
    Mylopoulos, John
    [J]. SOFTWARE AND SYSTEMS MODELING, 2022, 21 (06): : 2395 - 2427
  • [9] SPESC: A specification language for smart contracts
    He, Xiao
    Qin, Bohan
    Zhu, Yan
    Chen, Xing
    Liu, Yi
    [J]. 2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 132 - 137
  • [10] Towards the Specification and Verification of Legal Contracts
    Parvizimosaed, Alireza
    [J]. 2020 28TH IEEE INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE (RE'20), 2020, : 445 - 450