Improving precision of generated ASTs

@inproceedings{Winther2012ImprovingPO,
  title={Improving precision of generated ASTs},
  author={Johnni Winther},
  booktitle={LDTA},
  year={2012}
}
The parser-generator is an essential tool in grammarware and its output, the parse tree in form of the concrete or abstract syntax tree, often forms the basis for the whole structure of the grammarware application. Several tools for Java encode the parse tree in a class hierarchy generated to model the parsed documents closely within the Java type system. We present two algorithms used in the generation of such classes which improve the precision with which the parsed input is modeled and show… CONTINUE READING