xref: /csrg-svn/usr.bin/pascal/eyacc/eyacc.1 (revision 62087)
1*62087Sbostic.\" Copyright (c) 1980, 1990, 1993
2*62087Sbostic.\"	The Regents of the University of California.  All rights reserved.
319565Smckusick.\"
449208Scael.\" %sccs.include.redist.roff%
519565Smckusick.\"
6*62087Sbostic.\"	@(#)eyacc.1	8.1 (Berkeley) 06/06/93
743692Scael.\"
843692Scael.Dd
943692Scael.Dt EYACC 1
1043692Scael.Os BSD 4
1143692Scael.Sh NAME
1243692Scael.Nm eyacc
1343692Scael.Nd modified yacc allowing much improved error recovery
1443692Scael.Sh SYNOPSIS
1543692Scael.Nm eyacc
1643692Scael.Op Fl v
1743692Scael.Op Ar grammar
1843692Scael.Sh DESCRIPTION
1943692Scael.Nm Eyacc
2019565Smckusickis an old version of
2143692Scael.Xr yacc  1  ,
2219565Smckusickwhich produces tables used by the Pascal system and its error recovery
2319565Smckusickroutines.
2443692Scael.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
3043692Scael.Nm eyacc
3119565Smckusickthan it was in the old
3243692Scael.Xr yacc 1 ,
3319565Smckusickas minor changes had been made for efficiency reasons.
3443692Scael.Sh SEE ALSO
3543692Scael.Xr yacc 1
3649208Scael.Rs
3749208Scael.%T "Practical LR Error Recovery"
3849208Scael.%A Susan L.  Graham
3949208Scael.%A Charles B. Haley
4049208Scael.%A W. N. Joy
4149208Scael.%J "\\*(tNSIGPLAN\\*(sP Conference on Compiler Construction"
4249208Scael.%D "August 1979"
4349208Scael.Re
4444952Scael.Sh HISTORY
4544952Scael.Nm Eyacc
4649208Scaelappeared in
4749208Scael.Bx 2.0 .
4843692Scael.Sh BUGS
4949208Scael.Xr \&Pc 1
5019565Smckusickand its error recovery routines should be made into a library
5119565Smckusickof routines for the new
5243692Scael.Xr yacc 1 .
53