Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
ANTLR TestRig Command and Options
What is the ANTLR TestRig command and its options? I have downloaded the antlr-4.7.1-complete.jar.
✍: FYIcenter
ANTLR TestRig allows you to test the lexer and parser
generated by ANTLR interactively from the command prompt.
The main class of ANTLR TestRig is org.antlr.v4.gui.TestRig. You can see its command arguments and options by running it:
\fyicenter>java -cp \antlr-4.7.1-complete.jar org.antlr.v4.gui.TestRig java org.antlr.v4.gui.TestRig GrammarName startRuleName [-tokens] [-tree] [-gui] [-ps file.ps] [-encoding encodingname] [-trace] [-diagnostics] [-SLL] [input-filename(s)] Use startRuleName='tokens' if GrammarName is a lexer grammar. Omitting input-filename makes rig read from stdin.
You can provide your source code as an input file, or from the console interactively. The lexer and parser classes generated from ANTLR must be included in the classpath.
2020-12-02, 6650👍, 0💬
Popular Posts:
Swingx is the SwingLabs Swing Component Extensions. JAR File Size and Download Location: File name: ...
maven-model-builder-3.5. 4.jaris the JAR file for Apache Maven 3.5.4 Model Builder module. Apache Ma...
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...
What Is poi-3.5.jar? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides an API f...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...