Each arrow runs from a use of a name to the declaration it refers to. Any correct Decaf compiler must draw the same arrows.
tracer/regen_traces.shThe scopes searched, innermost first, until a declaration is found or the search fails
One table for the program, one per function (its parameters), one per block (its locals). Phase 1 builds them, and they persist on the AST, linked to their parents.
The events this page replays, dumped from the reference compiler's own tables and lookups by tracer/scope-trace. Click an event to jump to it.