


BISON(1)            UNIX Programmer's Manual             BISON(1)



NAME
     bison - GNU Project parser generator (yacc replacement)

SYNOPSIS
     bison [ -dvy ] file

DESCRIPTION
     _B_i_s_o_n is a parser generator in the style of _y_a_c_c(1).  It
     should be upwardly compatible with input files designed for
     _y_a_c_c.

     Input files should follow the _y_a_c_c convention of ending in
     ``.y''.  Unlike _y_a_c_c, the generated files do not have fixed
     names, but instead use the prefix of the input file.  For
     instance, a grammar description file named parse.y would
     produce the generated parser in a file named parse.tab.c,
     instead of _y_a_c_c's y.tab.c.

     _B_i_s_o_n takes three optional flags.

     -d   Produce a .tab.h file, similar to _y_a_c_c's y.tab.h file.

     -v   Be verbose. Analogous to the same flag for _y_a_c_c.

     -y   Use fixed output file names. I.e., force the output to
          be in files y.tab.c, y.tab.h, and so on. This is for
          full _y_a_c_c compatibility.

FILES
     /usr/local/lib/bison.simple   simple parser
     /usr/local/lib/bison.hairy    complicated parser

SEE ALSO
     _y_a_c_c(1)

DIAGNOSTICS
     ``Self explanatory.''


















Printed 9/28/89               local                             1



