summaryrefslogtreecommitdiff
path: root/usr.bin/yacc/yacc.1
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-07-20 12:53:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-07-20 12:53:44 +0000
commitda02afd0dcd3f8dbc03d91eae0a457a2d88b0dd4 (patch)
tree431b05daf5444557d110869d7c08400765fb53e1 /usr.bin/yacc/yacc.1
parent7c54930736fb5d12651e9b204e8afb8123bf074d (diff)
daniel dickman has folded the relevant bits of the files being removed
into yacc.1 - thanks! ok millert deraadt
Diffstat (limited to 'usr.bin/yacc/yacc.1')
-rw-r--r--usr.bin/yacc/yacc.141
1 files changed, 39 insertions, 2 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1
index 97c1f2979cc..4f6ea472d12 100644
--- a/usr.bin/yacc/yacc.1
+++ b/usr.bin/yacc/yacc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: yacc.1,v 1.22 2009/02/10 19:24:17 jmc Exp $
+.\" $OpenBSD: yacc.1,v 1.23 2010/07/20 12:53:43 jmc Exp $
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" from: @(#)yacc.1 5.7 (Berkeley) 7/30/91
.\"
-.Dd $Mdocdate: February 10 2009 $
+.Dd $Mdocdate: July 20 2010 $
.Dt YACC 1
.Os
.Sh NAME
@@ -135,6 +135,8 @@ option causes a human-readable description of the generated parser to
be written to the file
.Pa y.output .
.El
+.Pp
+.Ex -std yacc
.Sh ENVIRONMENT
.Bl -tag -width TMPDIR
.It Ev TMPDIR
@@ -194,3 +196,38 @@ though its presence is optional.
The flags
.Op Fl or
are extensions to that specification.
+.Sh HISTORY
+Berkeley Yacc was originally developed using PCC on a VAX with the
+intent of being as compatible as possible with AT&T Yacc.
+Much is owed to the unflagging efforts of Keith Bostic.
+His badgering kept me working on Yacc long after I was ready to
+quit.
+.Pp
+Berkeley Yacc is based on the excellent algorithm for computing
+LALR(1) lookaheads developed by Tom Pennello and Frank DeRemer.
+The algorithm is described in their almost impenetrable article in
+TOPLAS 4,4.
+.Pp
+Finally, much credit must go to those who pointed out deficiencies
+of earlier releases.
+Among the most prolific contributors were
+Benson I. Margulies,
+Dave Gentzel,
+Antoine Verheijen,
+Peter S. Housel,
+Dale Smith,
+Ozan Yigit,
+John Campbell,
+Bill Sommerfeld,
+Paul Hilfinger,
+Gary Bridgewater,
+Dave Bakken,
+Dan Lanciani,
+Richard Sargent,
+and
+Parag Patel.
+.Sh AUTHORS
+The
+.Nm
+utility was written by
+.An Robert Corbett .