summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/bison.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man1/bison.1
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man1/bison.1')
-rw-r--r--static/unix-v10/man1/bison.162
1 files changed, 62 insertions, 0 deletions
diff --git a/static/unix-v10/man1/bison.1 b/static/unix-v10/man1/bison.1
new file mode 100644
index 00000000..ebd6d11c
--- /dev/null
+++ b/static/unix-v10/man1/bison.1
@@ -0,0 +1,62 @@
+.TH BISON 1 local
+.SH NAME
+bison \- GNU Project parser generator (yacc replacement)
+.SH SYNOPSIS
+.B bison
+[
+.B \-dvy
+] file
+.SH DESCRIPTION
+.I Bison
+is a parser generator in the style of
+.IR yacc (1).
+It should be upwardly compatible with input files designed
+for
+.IR yacc .
+.PP
+Input files should follow the
+.I yacc
+convention of ending in ``.y''.
+Unlike
+.IR 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
+.B parse.y
+would produce the generated parser in a file named
+.BR parse.tab.c ,
+instead of
+.IR yacc 's
+.BR y.tab.c .
+.PP
+.I Bison
+takes three optional flags.
+.TP
+.B \-d
+Produce a
+.B .tab.h
+file, similar to
+.IR yacc 's
+.B y.tab.h
+file.
+.TP
+.B \-v
+Be verbose. Analogous to the same flag for
+.IR yacc .
+.TP
+.B \-y
+Use fixed output file names. I.e., force the output to be in files
+.BR y.tab.c ,
+.BR y.tab.h ,
+and so on. This is for full
+.I yacc
+compatibility.
+.SH FILES
+/usr/local/lib/bison.simple simple parser
+.br
+/usr/local/lib/bison.hairy complicated parser
+.SH SEE ALSO
+.IR yacc (1)
+.SH DIAGNOSTICS
+``Self explanatory.''
+... ha!