xref: /csrg-svn/usr.bin/pascal/eyacc/eyacc.1 (revision 43692)
1*43692Scael.\" Copyright (c) 1980, 1990 The Regents of the University of California.
2*43692Scael.\" All rights reserved.
319565Smckusick.\"
4*43692Scael.\" %sccs.include.redist.man%
519565Smckusick.\"
6*43692Scael.\"     @(#)eyacc.1	6.2 (Berkeley) 06/24/90
7*43692Scael.\"
8*43692Scael.Dd
9*43692Scael.Dt EYACC 1
10*43692Scael.Os BSD 4
11*43692Scael.Sh NAME
12*43692Scael.Nm eyacc
13*43692Scael.Nd modified yacc allowing much improved error recovery
14*43692Scael.Sh SYNOPSIS
15*43692Scael.Nm eyacc
16*43692Scael.Op Fl v
17*43692Scael.Op Ar grammar
18*43692Scael.Sh DESCRIPTION
19*43692Scael.Nm Eyacc
2019565Smckusickis an old version of
21*43692Scael.Xr yacc  1  ,
2219565Smckusickwhich produces tables used by the Pascal system and its error recovery
2319565Smckusickroutines.
24*43692Scael.Nm Eyacc
2519565Smckusickfully enumerates test actions in its parser when an error token
2619565Smckusickis in the look-ahead set.
2719565SmckusickThis prevents the parser from making undesirable reductions
2819565Smckusickwhen an error occurs before the error is detected.
2919565SmckusickThe table format is different in
30*43692Scael.Nm eyacc
3119565Smckusickthan it was in the old
32*43692Scael.Xr yacc 1 ,
3319565Smckusickas minor changes had been made for efficiency reasons.
34*43692Scael.Sh SEE ALSO
35*43692Scael.Xr yacc 1
3619565Smckusick.br
37*43692Scael.Em Practical LR Error Recovery
38*43692Scaelby Susan L.  Graham, Charles B. Haley and W. N. Joy;
39*43692ScaelSIGPLAN Conference on Compiler Construction,
40*43692ScaelAugust 1979.
41*43692Scael.Sh AUTHORS
4219565SmckusickS. C. Johnson
43*43692Scael.Pp
44*43692Scael.Nm Eyacc
4519565Smckusickmodifications by Charles Haley and William Joy.
46*43692Scael.Sh BUGS
47*43692Scael.Xr Pc 1
4819565Smckusickand its error recovery routines should be made into a library
4919565Smckusickof routines for the new
50*43692Scael.Xr yacc 1 .
51