Title :
A slice monad transformer and its applications in program slicing
Author :
Zhang, Yingzhou ; Xu, Baowen
Author_Institution :
Dep. of Comput. Sci. & Eng., Southeast Univ., Nanjing, China
Abstract :
Monad transformers, each representing a single notion of computation, can be designed once and for all. In this paper we abstract the computation of program slicing as slice monad transformer, which allows program slices to be computed on any type of computation represented by an arbitrary monad. We define and verify the slice monad transformer. With the use of the slice monad transformer, we propose a new approach for program slicing based on modular monadic semantics, called modular monadic slicing. It could compute slices directly on abstract syntax, without explicit construction of intermediate structures such as dependence graphs in slicers. Moreover, it could have excellent flexibility and reusability properties.
Keywords :
program slicing; program verification; programming language semantics; abstract syntax; modular monadic semantics; modular monadic slicing; program slicing; slice monad transformer; Application software; Computer science; Computer science education; Debugging; Design engineering; Laboratories; Software engineering; Software measurement; Software quality; Software testing; Program slicing; modular monadic semantics; monad transformers; slice monad transformer;
Conference_Titel :
Engineering of Complex Computer Systems, 2005. ICECCS 2005. Proceedings. 10th IEEE International Conference on
Print_ISBN :
0-7695-2284-X
DOI :
10.1109/ICECCS.2005.13