1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
2 .TH BISON "1" "November 2007" "bison 2.3a+" "User Commands"
4 bison \- GNU Project parser generator (yacc replacement)
7 [\fIOPTION\fR]... \fIFILE\fR
10 is a parser generator in the style of
12 It should be upwardly compatible with input files designed
16 Input files should follow the
18 convention of ending in
22 the generated files do not have fixed names, but instead use the prefix
24 Moreover, if you need to put
26 code in the input file, you can end his name by a C++-like extension
27 (.ypp or .y++), then bison will follow your extension to name the
28 output file (.cpp or .c++).
29 For instance, a grammar description file named
31 would produce the generated parser in a file named
41 This description of the options that can be given to
43 is adapted from the node
47 manual, which should be taken as authoritative.
50 supports both traditional single-letter options and mnemonic long
51 option names. Long option names are indicated with
55 Abbreviations for option names are allowed as long as they
56 are unique. When a long option takes an argument, like
58 connect the option name and the argument with
61 Generate LALR(1) and GLR parsers.
63 Mandatory arguments to long options are mandatory for short options too.
64 .SS "Operation modes:"
66 \fB\-h\fR, \fB\-\-help\fR
67 display this help and exit
69 \fB\-V\fR, \fB\-\-version\fR
70 output version information and exit
72 \fB\-\-print\-localedir\fR
73 output directory containing locale\-dependent data
75 \fB\-\-print\-datadir\fR
76 output directory containing skeletons and XSLT
78 \fB\-y\fR, \fB\-\-yacc\fR
81 \fB\-W\fR, \fB\-\-warnings\fR=\fI[CATEGORY]\fR
82 report the warnings falling in CATEGORY
85 \fB\-S\fR, \fB\-\-skeleton\fR=\fIFILE\fR
86 specify the skeleton to use
88 \fB\-t\fR, \fB\-\-debug\fR
89 instrument the parser for debugging
92 enable locations computation
94 \fB\-p\fR, \fB\-\-name\-prefix\fR=\fIPREFIX\fR
95 prepend PREFIX to the external symbols
97 \fB\-l\fR, \fB\-\-no\-lines\fR
98 don't generate `#line' directives
100 \fB\-k\fR, \fB\-\-token\-table\fR
101 include a table of token names
104 \fB\-d\fR, \fB\-\-defines\fR[=\fIFILE\fR]
105 also produce a header file
107 \fB\-r\fR, \fB\-\-report\fR=\fITHINGS\fR
108 also produce details on the automaton
110 \fB\-v\fR, \fB\-\-verbose\fR
111 same as `\-\-report=state'
113 \fB\-b\fR, \fB\-\-file\-prefix\fR=\fIPREFIX\fR
114 specify a PREFIX for output files
116 \fB\-o\fR, \fB\-\-output\fR=\fIFILE\fR
119 \fB\-g\fR, \fB\-\-graph\fR[=\fIFILE\fR]
120 also output a graph of the automaton
122 \fB\-x\fR, \fB\-\-xml\fR[=\fIFILE\fR]
123 also output an XML report of the automaton
124 .SS "Warning categories include:"
127 unset or unused midrule values
130 incompatibilities with POSIX YACC
136 turn off warnings in CATEGORY
139 turn off all the warnings
142 treat warnings as errors
143 .SS "THINGS is a list of comma separated words that can include:"
149 complete the core item sets with their closure
152 explicitly associate lookahead tokens to items
155 describe shift/reduce conflicts solving
158 include all the above information
163 Written by Robert Corbett and Richard Stallman.
165 Report bugs to <bug\-bison@gnu.org>.
167 Id: ChangeLog,v 1.1748 2007/11/04 20:45:32 akim Exp
169 Copyright \(co 2007 Free Software Foundation, Inc.
171 This is free software; see the source for copying conditions. There is NO
172 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
178 The full documentation for
180 is maintained as a Texinfo manual. If the
184 programs are properly installed at your site, the command
188 should give you access to the complete manual.