new template
[unix-history] / usr / src / usr.bin / pascal / eyacc / eyacc.1
CommitLineData
5c7ea48e
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
8bb8cf58 5.\" @(#)eyacc.1 6.1 (Berkeley) %G%
5c7ea48e 6.\"
8bb8cf58 7.TH EYACC 1 "%G%"
5c7ea48e
KM
8.UC 4
9.SH NAME
10eyacc \- modified yacc allowing much improved error recovery
11.SH SYNOPSIS
12.B eyacc
13[
14.B \-v
15]
16[ grammar ]
17.SH DESCRIPTION
18.I Eyacc
19is an old version of
20.IR yacc (1),
21which produces tables used by the Pascal system and its error recovery
22routines.
23.I Eyacc
24fully enumerates test actions in its parser when an error token
25is in the look-ahead set.
26This prevents the parser from making undesirable reductions
27when an error occurs before the error is detected.
28The table format is different in
29.I eyacc
30than it was in the old
31.I yacc,
32as minor changes had been made for efficiency reasons.
33.SH "SEE ALSO"
34yacc(1)
35.br
36``Practical LR Error Recovery'' by Susan L. Graham, Charles B. Haley
37and W. N. Joy; SIGPLAN Conference on Compiler Construction, August 1979.
38.SH AUTHOR
39S. C. Johnson
40.PP
41.I Eyacc
42modifications by Charles Haley and William Joy.
43.SH BUGS
44.I Pc
45and its error recovery routines should be made into a library
46of routines for the new
47.I yacc.