Automatic generation of heterogenous ASTs in Java
The Overture AstCreator Tool automatically generates ASTs and accompanying visitor classes.
<plugin>
<groupId>org.overturetool.astcreator</groupId>
<artifactId>astcreator-plugin</artifactId>
<version>1.6.4</version>
<artifactId>root</artifactId>
<executions>
<execution>
<id>java</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<ast>overtureII.astv2</ast>
</configuration>
</plugin>
The primary author of this is Kenneth Lausdahl (@lausdahl), but it has also had contributions from Rasmus Lauritsen (@rasmuswl) and Joey Coleman (@joey-coleman).