Title of article
Program families: Program construction by context independent refinements
Author/Authors
Eric W. van Ammers، نويسنده ,
Issue Information
ماهنامه با شماره پیاپی سال 1998
Pages
36
From page
251
To page
286
Abstract
The concept of program families is a generalisation of the conventional stepwise refinement paradigm. We formalise program families by allowing Hoare-triplets to be parameterized. Next we derive a simple calculus to develop programs which are known a priori to be correct with respect to explicitly formulated pre- and postconditions.
Program families deal with at least two important problems of conventional refinement steps, i.e. program families are not context dependent and they apply just as well to top-down decomposition as to the bottom-up or middle-out approach. It turns out that the meaning of a pseudostatement in the context of program families is quite different from its meaning in the conventional refinement process.
A couple of examples illustrate the technique: the 1000 primes problem, a palindrome filter and a sorting routine.
The discussion relates program families to Morganʹs refinement calculus, Knuthʹ literate programming and Solowayʹs programming plans
Keywords
Parameterized Hoare-triplet , Generalised Hoare-triplet , Decomposition , Family decomposition , Stepwise refinement , Context independent refinements
Journal title
Science of Computer Programming
Serial Year
1998
Journal title
Science of Computer Programming
Record number
1079494
Link To Document