Electronic Notes in Theoretical Computer Science · 2007 · 18 citations · 17 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesTheory Of ComputationAbstract Syntax TreesData-flow AnalysisFunctional ProgrammingFormal ReasoningProgram ComprehensionProgram Trace AnalysisTrace SemanticsTrace Theory
The tracer Hat records in a detailed trace the computation of a program written in the lazy functional language Haskell. The trace can then be viewed in various ways to support program comprehension and debugging. The trace was named the augmented redex trail. Its structure was inspired by standard graph rewriting implementations of functional languages. Here we describe a model of the trace that captures its essential properties and allows formal reasoning. The trace is a graph constructed by graph rewriting but goes beyond simple term graphs. Although the trace is a graph whose structure is independent of any rewriting strategy, we define the trace inductively, thus giving us a powerful method for proving its properties.
17
Jan Willem Klop · Data Archiving and Networked Services (DANS) · 1990 · 783 citations
A natural semantics for lazy evaluation
John Launchbury · 1993 · 377 citations
Efficient compilation of lazy evaluation
Thomas Johnsson · 1984 · 226 citations
Declarative debugging for lazy functional languages
Henrik Nilsson · 1998 · 147 citations