Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bison(1) — NEXTSTEP 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

yacc(1)

BISON(1)  —  UNIX Programmer’s Manual

NAME

bison − GNU Project parser generator (yacc replacement)

SYNOPSIS

bison [ −dvy ] file

DESCRIPTION

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. For instance, a grammar description file named parse.y would produce the generated parser in a file named parse.tab.c, instead of yacc’s y.tab.c. 

Bison takes three optional flags. 

−d Produce a .tab.h file, similar to yacc’s y.tab.h file. 

−v Be verbose.  Analogous to the same flag for yacc.

−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 yacc compatibility. 

FILES

/usr/lib/bison.simplesimple parser
/usr/lib/bison.hairycomplicated parser

SEE ALSO

yacc(1)

7th Edition  —  Local

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026