Canonical Abstract Syntax Trees
Programming Languages
2007-05-23 v2
Abstract
This paper presents Gom, a language for describing abstract syntax trees and generating a Java implementation for those trees. Gom includes features allowing the user to specify and modify the interface of the data structure. These features provide in particular the capability to maintain the internal representation of data in canonical form with respect to a rewrite system. This explicitly guarantees that the client program only manipulates normal forms for this rewrite system, a feature which is only implicitly used in many implementations.
Keywords
Cite
@article{arxiv.cs/0601019,
title = {Canonical Abstract Syntax Trees},
author = {Antoine Reilles},
journal= {arXiv preprint arXiv:cs/0601019},
year = {2007}
}