public static void main(String[] args) throws Exception {
		TestRig testRig = new TestRig(args);
 		if(args.length >= 2) {
			testRig.process();
		}
	}
Run a lexer/parser combo, optionally printing tree string or generating
 postscript file. Optionally taking input file.

 $ java org.antlr.v4.runtime.misc.TestRig GrammarName startRuleName
       [-tree]
       [-tokens] [-gui] [-ps file.ps]
       [-trace]
       [-diagnostics]
       [-SLL]
       [input-filename(s)]
tool/src/org/antlr/v4/gui/TestRig.java