O'Reilly logo
  • Lance Jensen thinks this is interesting:

$ ​alias grun='java org.antlr.v4.runtime.misc.TestRig'


Cover of The Definitive ANTLR 4 Reference, 2nd Edition


On or before 4.7.1 the TestRig class to use is: org.antlr.v4.gui.TestRig. To configure a posix system to run it use the following alias with the version number updated:

alias grun='java -cp /usr/local/lib/antlr-4.7.1-complete.jar org.antlr.v4.gui.TestRig'​