Carnegie Mellon University
Browse
file.pdf (642.01 kB)

Visualizing evaluation in applicative languages

Download (642.01 kB)
journal contribution
posted on 1999-06-01, 00:00 authored by David S Touretzky, Lee
Abstract: "In this article we present a technique for visualizing evaluation in applicative languages that helps to graphically explain a number of basic concepts, including lexical vs. dynamic scoping, closures, local and special variables, and macro expansion. Called 'evaltrace notation,' it appears in a recent textbook by the first author and has been employed in several courses at Carnegie Mellon. Although our discussion focuses primarily on the notation itself, we also provide some insights into the implementation of Lisp and Scheme interpreters and the differences between the lexical and dynamic scoping disciplines. It is our hope that evaltrace notation will be widely adopted by Lisp educators.In support of this, we have made available a set of LAT[subscript E]X macros to allow others to produce evaltrace diagrams similar to the ones that appear here."

History

Date

1999-06-01

Usage metrics

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC