Automized Generation of Typed Syntax Trees via XML (original) (raw)

The XANTLR/TDOM project is an implementation of a "typed" XML[1] Document Object Model initially used to represent abstract syntax trees in a compiler project. Tree classes, SAX event receivers, visitor classes and DTD are automatically derived from a sparsely annotated ANTLR grammar. Mapping tag values onto the type system of the target language allows for the compilation of syntax, mostly yielding large increases in computational performance. Automized generation significantly decreases programming efforts and increases maintainability. The currently supported target language is JAVA.