On Sun, Aug 11, 2013 at 11:01:44PM +0200, Jan Stary wrote: > This diff to yacc(1) adds a reference to the original LALR(1) paper. > I am not sure about the markup, as mandoc render it as > > F. DeRemer and T. J. Pennello, "Efficient Computation of LALR(1) > Look-Ahead Sets", 4, TOPLAS, 4, 615-649, 1982. > > Note the order: issue number, journal name, volume number. > Is that expected? Should I just make it "issue 4:4"? > > This includes my previous diff to the "LALR" markup. > > Jan >
i would just use %A, %D, %T, and %J myself. jmc > > Index: yacc.1 > =================================================================== > RCS file: /cvs/src/usr.bin/yacc/yacc.1,v > retrieving revision 1.26 > diff -u -p -u -p -r1.26 yacc.1 > --- yacc.1 18 Oct 2010 14:42:16 -0000 1.26 > +++ yacc.1 11 Aug 2013 20:58:21 -0000 > @@ -37,9 +37,7 @@ > .Os > .Sh NAME > .Nm yacc > -.Nd an > -.Tn LALR(1) > -parser generator > +.Nd an LALR(1) parser generator > .Sh SYNOPSIS > .Nm yacc > .Op Fl dlrtv > @@ -51,11 +49,8 @@ parser generator > .Nm > reads the grammar specification in > .Ar file > -and generates an > -.Tn LR(1) > -parser for it. > -The parsers consist of a set of > -.Tn LALR(1) > +and generates an LR(1) parser for it. > +The parsers consist of a set of LALR(1) > parsing tables and a driver routine > written in the C programming language. > .Nm > @@ -176,12 +171,21 @@ is defined and non-zero. > .Sh DIAGNOSTICS > If there are rules that are never reduced, the number of such rules is > written to the standard error. > -If there are any > -.Tn LALR(1) > +If there are any LALR(1) > conflicts, the number of conflicts is also written > to the standard error. > .Sh SEE ALSO > .Xr yyfix 1 > +.Rs > +.%A F. DeRemer > +.%A T. J. Pennello > +.%T Efficient Computation of LALR(1) Look-Ahead Sets > +.%J TOPLAS > +.%V 4 > +.%I 4 > +.%D 1982 > +.%P 615-649 > +.Re > .Sh STANDARDS > The > .Nm

