A program transformation for tracing functional logic computations

  • Authors:
  • Bernd Brassel;Sebastian Fischer;Frank Huch

  • Affiliations:
  • Institute of Computer Science, University of Kiel, Kiel, Germany;Institute of Computer Science, University of Kiel, Kiel, Germany;Institute of Computer Science, University of Kiel, Kiel, Germany

  • Venue:
  • LOPSTR'06 Proceedings of the 16th international conference on Logic-based program synthesis and transformation
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.