Testing Automation of Context-Oriented Programs Using Separation Logic

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 programmin...

Full description

Saved in:
Bibliographic Details
Main Author: Mohamed A. El-Zawawy
Format: Article
Language:English
Published: Wiley 2014-01-01
Series:Applied Computational Intelligence and Soft Computing
Online Access:http://dx.doi.org/10.1155/2014/930186
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849304444257173504
author Mohamed A. El-Zawawy
author_facet Mohamed A. El-Zawawy
author_sort Mohamed A. El-Zawawy
collection DOAJ
description 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.
format Article
id doaj-art-138b35fd531d4303a164d1feb85337ee
institution Kabale University
issn 1687-9724
1687-9732
language English
publishDate 2014-01-01
publisher Wiley
record_format Article
series Applied Computational Intelligence and Soft Computing
spelling doaj-art-138b35fd531d4303a164d1feb85337ee2025-08-20T03:55:44ZengWileyApplied Computational Intelligence and Soft Computing1687-97241687-97322014-01-01201410.1155/2014/930186930186Testing Automation of Context-Oriented Programs Using Separation LogicMohamed A. El-Zawawy0College of Computer and Information Sciences, Al Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh 11432, Saudi ArabiaA 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.http://dx.doi.org/10.1155/2014/930186
spellingShingle Mohamed A. El-Zawawy
Testing Automation of Context-Oriented Programs Using Separation Logic
Applied Computational Intelligence and Soft Computing
title Testing Automation of Context-Oriented Programs Using Separation Logic
title_full Testing Automation of Context-Oriented Programs Using Separation Logic
title_fullStr Testing Automation of Context-Oriented Programs Using Separation Logic
title_full_unstemmed Testing Automation of Context-Oriented Programs Using Separation Logic
title_short Testing Automation of Context-Oriented Programs Using Separation Logic
title_sort testing automation of context oriented programs using separation logic
url http://dx.doi.org/10.1155/2014/930186
work_keys_str_mv AT mohamedaelzawawy testingautomationofcontextorientedprogramsusingseparationlogic