This generates heterogenous ASTs in Java for the Overture project, and should be applicable to anything else that needs an AST.
<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>
...to be filled in
The jar
produced from the core/
directory is embeddable; please contact us if you plan to use it.
See https://github.com/overturetool/astcreator/wiki/Release-Procedure