bison man page on QNX
BISON(1) User Commands BISON(1)
bison - GNU Project parser generator (yacc replacement)
bison [OPTION]... FILE
Bison is a parser generator in the style of yacc(1). It should be
upwardly compatible with input files designed for yacc.
Input files should follow the yacc convention of ending in .y. Unlike
yacc, the generated files do not have fixed names, but instead use the
prefix of the input file. Moreover, if you need to put C++ code in the
input file, you can end his name by a C++-like extension (.ypp or
.y++), then bison will follow your extension to name the output file
(.cpp or .c++). For instance, a grammar description file named
parse.yxx would produce the generated parser in a file named
parse.tab.cxx, instead of yacc's y.tab.c or old Bison version's
This description of the options that can be given to bison is adapted
from the node Invocation in the bison.texinfo manual, which should be
taken as authoritative.
Bison supports both traditional single-letter options and mnemonic long
option names. Long option names are indicated with -- instead of -.
Abbreviations for option names are allowed as long as they are unique.
When a long option takes an argument, like --file-prefix, connect the
option name and the argument with =.
Generate LALR(1) and GLR parsers.
Mandatory arguments to long options are mandatory for short options
too. The same is true for optional arguments.
display this help and exit
output version information and exit
output directory containing locale-dependent data
output directory containing skeletons and XSLT
emulate POSIX Yacc
report the warnings falling in CATEGORY
specify the output programming language (this is an experimental
specify the skeleton to use
instrument the parser for debugging
enable locations computation
prepend PREFIX to the external symbols
don't generate `#line' directives
include a table of token names
also produce a header file
-d likewise but cannot specify FILE (for POSIX Yacc)
also produce details on the automaton
write report to FILE
same as `--report=state'
specify a PREFIX for output files
leave output to FILE
also output a graph of the automaton
also output an XML report of the automaton (the XML schema is
Warning categories include:
unset or unused midrule values
`yacc' incompatibilities with POSIX YACC
`all' all the warnings
turn off warnings in CATEGORY
`none' turn off all the warnings
treat warnings as errors
THINGS is a list of comma separated words that can include:
describe the states
complete the core item sets with their closure
explicitly associate lookahead tokens to items
describe shift/reduce conflicts solving
`all' include all the above information
`none' disable the report
Written by Robert Corbett and Richard Stallman.
Report bugs to <firstname.lastname@example.org>.
Copyright © 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
lex(1), flex(1), yacc(1).
The full documentation for bison is maintained as a Texinfo manual. If
the info and bison programs are properly installed at your site, the
should give you access to the complete manual.
bison 2.4.3 August 2010 BISON(1)
_ _ _
| | | | | |
| | | | | |
__ | | __ __ | | __ __ | | __
\ \| |/ / \ \| |/ / \ \| |/ /
\ \ / / \ \ / / \ \ / /
\ / \ / \ /
\_/ \_/ \_/
More information is available in HTML format for server QNX
List of man pages available for QNX
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome