首页    期刊浏览 2025年02月26日 星期三
登录注册

文章基本信息

  • 标题:Testing Automation of Context-Oriented Programs Using Separation Logic
  • 本地全文:下载
  • 作者:Mohamed A. El-Zawawy
  • 期刊名称:Applied Computational Intelligence and Soft Computing
  • 印刷版ISSN:1687-9724
  • 电子版ISSN:1687-9732
  • 出版年度:2014
  • 卷号:2014
  • DOI:10.1155/2014/930186
  • 出版社:Hindawi Publishing Corporation
  • 摘要:A new approach for programming that enables switching among contexts of commands during program execution is context-oriented programming (COP). This technique is more structured and modular than object-oriented and aspect-oriented programming and hence more flexible. For context-oriented programming, as implemented in COP languages such as ContextJ* and ContextL, this paper introduces accurate operational semantics. The language model of this paper uses Java concepts and is equipped with layer techniques for activation/deactivation of layer contexts. This paper also presents a logical system for COP programs. This logic is necessary for the automation of testing, developing, and validating of partial correctness specifications for COP programs and is an extension of separation logic. A mathematical soundness proof for the logical system against the proposed operational semantics is presented in the paper.
国家哲学社会科学文献中心版权所有