version 1.19, 2007/05/31 19:20:20 |
version 1.20, 2008/05/17 23:31:52 |
|
|
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm yacc |
.Nm yacc |
.Op Fl dlrtv |
.Op Fl dlrtv |
.Op Fl b Ar prefix |
.Op Fl b Ar file_prefix |
.Op Fl o Ar output_file |
.Op Fl o Ar output_file |
.Op Fl p Ar symbol_prefix |
.Op Fl p Ar symbol_prefix |
.Ar filename |
.Ar file |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm |
.Nm |
reads the grammar specification in the file |
reads the grammar specification in |
.Ar filename |
.Ar file |
and generates an |
and generates an |
.Tn LR(1) |
.Tn LR(1) |
parser for it. |
parser for it. |
|
|
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl b Ar prefix |
.It Fl b Ar file_prefix |
The |
The |
.Fl b |
.Fl b |
option changes the prefix prepended to the output file names to |
option changes the prefix prepended to the output file names to |
the string denoted by |
the string denoted by |
.Ar prefix . |
.Ar file_prefix . |
The default prefix is the character |
The default prefix is the character |
.Ar y . |
.Ar y . |
.It Fl d |
.It Fl d |