Sciweavers

TSE
2011

Deriving a Slicing Algorithm via FermaT Transformations

13 years 6 months ago
Deriving a Slicing Algorithm via FermaT Transformations
In this paper we present a case study in deriving an algorithm from a formal specification via FermaT transformations. The general method (which is presented in a separate paper) is extended to a method for deriving an implementation of a program transformation from a specification of the program transformation. We use program slicing as an example transformation, since this is of interest outside the program transformation community. We develop a formal specification for program slicing, in the form of a WSL specification statement, which is refined into a simple slicing algorithm by applying a sequence of general purpose program transformations and refinements. Finally, we show how the same methods can be used to derive an algorithm for semantic slicing. The main novel contributions of this paper are: (1) Developing a formal specification for slicing. (2) Expressing the definition of slicing in terms of a WSL specification statement. (3) By applying correctness preserving t...
Martin P. Ward, Hussein Zedan
Added 15 May 2011
Updated 15 May 2011
Type Journal
Year 2011
Where TSE
Authors Martin P. Ward, Hussein Zedan
Comments (0)