xref: /original-bsd/usr.bin/pascal/eyacc/eyacc.1 (revision c3e32dec)
1.\" Copyright (c) 1980, 1990, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)eyacc.1	8.1 (Berkeley) 06/06/93
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.Rs
37.%T "Practical LR Error Recovery"
38.%A Susan L.  Graham
39.%A Charles B. Haley
40.%A W. N. Joy
41.%J "\\*(tNSIGPLAN\\*(sP Conference on Compiler Construction"
42.%D "August 1979"
43.Re
44.Sh HISTORY
45.Nm Eyacc
46appeared in
47.Bx 2.0 .
48.Sh BUGS
49.Xr \&Pc 1
50and its error recovery routines should be made into a library
51of routines for the new
52.Xr yacc 1 .
53