Term graph rewriting for implementing the λ-calculus refactored.


We retrace some history of using term graphs for implementing β-reduction in the λ-calculus. We refactor the following three high-lights from that history, illustrated by a prototype implementation: