1ANTLR4(1) User Commands ANTLR4(1)
2
3
4
6 antlr4 - manual page for antlr4 4.10.1
7
9 ANTLR Parser Generator Version 4.10.1
10
11 -o ___ specify output directory where all output is generated
12
13 -lib ___
14 specify location of grammars, tokens files
15
16 -atn generate rule augmented transition network diagrams
17
18 -encoding ___
19 specify grammar file encoding; e.g., euc-jp
20
21 -message-format ___ specify output style for messages in antlr, gnu,
22 vs2005
23
24 -long-messages
25 show exception details when available for errors and warnings
26
27 -listener
28 generate parse tree listener (default)
29
30 -no-listener
31 don't generate parse tree listener
32
33 -visitor
34 generate parse tree visitor
35
36 -no-visitor
37 don't generate parse tree visitor (default)
38
39 -package ___
40 specify a package/namespace for the generated code
41
42 -depend
43 generate file dependencies
44
45 -D<option>=value
46 set/override a grammar-level option
47
48 -Werror
49 treat warnings as errors
50
51 -XdbgST
52 launch StringTemplate visualizer on generated code
53
54 -XdbgSTWait
55 wait for STViz to close before continuing
56
57 -Xforce-atn
58 use the ATN simulator for all predictions
59
60 -Xlog dump lots of logging info to antlr-timestamp.log
61
62 -Xexact-output-dir
63 all output goes into -o dir regardless of paths/package
64
65
66
67antlr4 4.10.1 July 2022 ANTLR4(1)