Higher-Order Lazy Functional Slicing
Nuno F. Rodrigues (Universidade do Minho, Portugal)
Luís Soares Barbosa (Universidade do Minho, Portugal)
Abstract: Program slicing is a well known family of techniques intended to identify and isolate code fragments which depend on, or are depended upon, specific program entities. This is particularly useful in the areas of reverse engineering, program understanding, testing and software maintenance. Most slicing methods, and corresponding tools, target either the imperative or the object oriented paradigms, where program slices are computed with respect to a variable or a program statement.Taking a complementary point of view, this paper focuses on the slicing of higher-order functional programs under a lazy evaluation strategy. A prototype of a Haskell slicer, built as proof-of-concept for these ideas, is also introduced.
Keywords: functional programming, program analysis, program slicing
Categories: D.1.1, I.2.2, I.2.4