Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
ANTLR TestRig Command and Options
What is the ANTLR TestRig command and its options? I have downloaded the antlr-4.10.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.10.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, ∼9992🔥, 0💬
Popular Posts:
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...
commons-lang-2.6.jar is the JAR file for Apache Commons Lang 2.6, which provides a host of helper ut...
JDK 17 jdk.incubator.vector.jmo dis the JMOD file for JDK 17 HTTP Server module. JDK 17 Incubator Ve...
maven-model-builder-3.5. 4.jaris the JAR file for Apache Maven 3.5.4 Model Builder module. Apache Ma...