diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man6/yacc.6 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man6/yacc.6')
| -rw-r--r-- | static/v10/man6/yacc.6 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/static/v10/man6/yacc.6 b/static/v10/man6/yacc.6 new file mode 100644 index 00000000..2abc64a6 --- /dev/null +++ b/static/v10/man6/yacc.6 @@ -0,0 +1,43 @@ +.pa 1 +.he 'YACC (VI)'1/20/73'YACC (VI)' +.ti 0 +NAME yacc -- yet another compiler compiler +.sp +.ti 0 +SYNOPSIS _____________/crp/scj/yacc [ <grammar ] +.sp +.ti 0 +DESCRIPTION Yacc converts a context-free grammar into a set of +tables for a simple automaton which executes an LR(1) parsing +algorithm. +The tables are provided in readable form on the standard output +and in b-compiler format on file actn.b; the program +/crp/scj/bpar.b will parse strings using the actn.b file. +.sp +If your grammar is too big for yacc, you may +try /crp/scj/bigyacc, +some of whose size limits are +larger, and others smaller. +.sp +.ti 0 +FILES actn.b output tables +.br +actn.tmp temporary storage +.br +Note that these files are created in the invoker's +directory. +The file actn.tmp is only created by /crp/scj/bigyacc +(see above). +.sp +.ti 0 +SEE ALSO Yacc manual, by scj (available from ek); +"LR Parsing", by A. V. Aho and S. C. Johnson, to be published. +.sp +.ti 0 +DIAGNOSTICS There are various diagnostics, but only +one can be obtained in each run. +.sp +.ti 0 +BUGS The maximum number of terminal and non-terminal symbols +is 50 each, and this is not checked. There are +undoubtedly other bugs too. |
