In an environment where computing power is ubiquitous, software engineers need to cater for many different variables beyond their control. They face what has been termed the pervasive problem. Their products need to be adaptable and portable, yet still retain a simple code base. Context-Oriented Programming (COP) is a new method of programming which aims to alleviate these problems by incorporating context as a first-class construct of a programming language, much in the same way that variables, classes, and functions form the first-class constructs of many modern languages. A context-oriented program is one with many ‘gaps’ or ‘open-terms’, and the context-filling operation completes such a program by dynamically selecting portions of code from a repository of candidates to fill these gaps. This selection process is based on the execution context of the program and a description of the open-term’s requisites. This paper describes the requirements for COP, focusing on this fundamental operation of context-filling. An implementation which meets many of these requirements is also presented.
Impact and interest:
Citation countsare sourced monthly fromand citation databases.
These databases contain citations from different subsets of available publications and different time periods and thus the citation count from each is usually different. Some works are not in either database and no count is displayed. Scopus includes citations from articles published in 1996 onwards, and Web of Science® generally from 1980 onwards.
Citations counts from theindexing service can be viewed at the linked Google Scholar™ search.
Repository Staff Only: item control page