Commit | Line | Data |
---|---|---|
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 | |
10 | eyacc \- 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 | |
19 | is an old version of | |
20 | .IR yacc (1), | |
21 | which produces tables used by the Pascal system and its error recovery | |
22 | routines. | |
23 | .I Eyacc | |
24 | fully enumerates test actions in its parser when an error token | |
25 | is in the look-ahead set. | |
26 | This prevents the parser from making undesirable reductions | |
27 | when an error occurs before the error is detected. | |
28 | The table format is different in | |
29 | .I eyacc | |
30 | than it was in the old | |
31 | .I yacc, | |
32 | as minor changes had been made for efficiency reasons. | |
33 | .SH "SEE ALSO" | |
34 | yacc(1) | |
35 | .br | |
36 | ``Practical LR Error Recovery'' by Susan L. Graham, Charles B. Haley | |
37 | and W. N. Joy; SIGPLAN Conference on Compiler Construction, August 1979. | |
38 | .SH AUTHOR | |
39 | S. C. Johnson | |
40 | .PP | |
41 | .I Eyacc | |
42 | modifications by Charles Haley and William Joy. | |
43 | .SH BUGS | |
44 | .I Pc | |
45 | and its error recovery routines should be made into a library | |
46 | of routines for the new | |
47 | .I yacc. |