xref: /original-bsd/usr.bin/pascal/eyacc/eyacc.1 (revision f1a1f5ae)
1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)eyacc.1	6.2 (Berkeley) 06/24/90
7.\"
8.Dd
9.Dt EYACC 1
10.Os BSD 4
11.Sh NAME
12.Nm eyacc
13.Nd modified yacc allowing much improved error recovery
14.Sh SYNOPSIS
15.Nm eyacc
16.Op Fl v
17.Op Ar grammar
18.Sh DESCRIPTION
19.Nm Eyacc
20is an old version of
21.Xr yacc  1  ,
22which produces tables used by the Pascal system and its error recovery
23routines.
24.Nm Eyacc
25fully enumerates test actions in its parser when an error token
26is in the look-ahead set.
27This prevents the parser from making undesirable reductions
28when an error occurs before the error is detected.
29The table format is different in
30.Nm eyacc
31than it was in the old
32.Xr yacc 1 ,
33as minor changes had been made for efficiency reasons.
34.Sh SEE ALSO
35.Xr yacc 1
36.br
37.Em Practical LR Error Recovery
38by Susan L.  Graham, Charles B. Haley and W. N. Joy;
39SIGPLAN Conference on Compiler Construction,
40August 1979.
41.Sh AUTHORS
42S. C. Johnson
43.Pp
44.Nm Eyacc
45modifications by Charles Haley and William Joy.
46.Sh BUGS
47.Xr Pc 1
48and its error recovery routines should be made into a library
49of routines for the new
50.Xr yacc 1 .
51