Generate syntax diagrams without GUI

Starting with version 1.1.4, it is possible to generate all the syntax diagram of a particular grammar without having to use ANTLRWorks GUI (which make it possible to include into an automated process). To do that, use the Console of ANTLRWorks.

Usage

$ java -cp antlrworks-1.1.4.jar org.antlr.works.Console

To export all the rules of test.g into eps

$ java -cp antlrworks-1.1.4.jar org.antlr.works.Console -f test.g -o output/ -sd eps -verbose