| 1 | August 28, 1977 |
| 2 | |
| 3 | This directory contains source for a version of yacc needed by the Pascal |
| 4 | parser. The differences between this yacc and a stadard version 6 yacc |
| 5 | are indicated in a comment in y1.c. |
| 6 | |
| 7 | Note that the standard yacc parser will not work on the tables produced |
| 8 | by "eyacc" and also that these changes are really useful only with |
| 9 | a fairly large set of error recovery routines which are part of both |
| 10 | "pi" and "pxp". The routines are language independent, but the method |
| 11 | will only work on languages which have some redundancy in them... it is |
| 12 | probably ill suited for C, but would work fine in ALGOL-60, ALGOL-W, |
| 13 | EUCLID, LIS, SP/K, PL/1, ALPHARD, CLU, ... |
| 14 | |
| 15 | I am working on a short document describing the internals of the error |
| 16 | recovery technique used in "pi"... It is a simple modification of the |
| 17 | Graham/Rhodes technique described in a recent article in the CACM. |
| 18 | |
| 19 | |
| 20 | Bill Joy |
| 21 | Computer Science Division |
| 22 | EECS Department |
| 23 | University of California, Berkeley |
| 24 | Berkeley, California 94704 |
| 25 | |
| 26 | Office: (415) 642-4948 |
| 27 | Home: (415) 524-4510 |