Term-graph Rewriting in Tom Using Relative Positions

Emilie Balland, Paul Brauner. Term-graph Rewriting in Tom Using Relative Positions. Electronic Notes in Theoretical Computer Science, 203(1):3-17, 2008. [doi]

Abstract

In this paper, we present the implementation in Tom of a de Bruijn indices generalization allowing the representation of term-graphs over an algebraic signature. By adding pattern matching and traversal controls to Java, Tom is a well-suited environment for defining program transformations or analyses. As some analyses, e.g. based on control flow, require graph-like structures, the use of this formalism is a natural way of expressing them by graph rewriting.