A Program Transformation for Tracing Functional Logic Computations
- Cite this paper as:
- Brassel B., Fischer S., Huch F. (2007) A Program Transformation for Tracing Functional Logic Computations. In: Puebla G. (eds) Logic-Based Program Synthesis and Transformation. LOPSTR 2006. Lecture Notes in Computer Science, vol 4407. Springer, Berlin, Heidelberg
Tracing program executions is a promising technique to find bugs in lazy functional logic programs. In previous work we developed an extension of a heap based semantics for functional logic languages which generates a trace reflecting the computation of the program. This extension was also prototypically implemented by instrumenting an interpreter for functional logic programs. Since this interpreter is too restricted for real world applications, we developed a program transformation which efficiently computes the trace by means of side effects during the computation. This paper presents our program transformation.
Unable to display preview. Download preview PDF.