Commit | Line | Data |
---|---|---|
4957d785 DM |
1 | .th TMG VI 10/21/72 |
2 | .sh NAME | |
3 | tmg \*- compiler-compiler | |
4 | .sh SYNOPSIS | |
5 | .bd tmg | |
6 | name | |
7 | .sh DESCRIPTION | |
8 | .it Tmg | |
9 | produces a translator for the language whose parsing | |
10 | and translation rules are described in file name.t. | |
11 | The new translator appears | |
12 | in a.out and may be used thus: | |
13 | .s3 | |
14 | .bd a.out | |
15 | input [ output ] | |
16 | .s3 | |
17 | Except in rare cases input must be a randomly | |
18 | addressable file. | |
19 | If no output file is specified, the standard output file | |
20 | is assumed. | |
21 | .sh FILES | |
22 | /sys/tmg/tmgl.o the compiler-compiler | |
23 | .br | |
24 | /sys/tmg[abc] libraries | |
25 | .br | |
26 | alloc.d table storage | |
27 | .sh "SEE ALSO" | |
28 | A Manual for the Tmg Compiler-writing Language, | |
29 | internal memorandum. | |
30 | .sh DIAGNOSTICS | |
31 | Syntactic errors result in "???" followed by the | |
32 | offending line. | |
33 | .br | |
34 | Situations such as space overflow | |
35 | with which the Tmg processor or a Tmg-produced | |
36 | processor can not cope result in a descriptive comment and | |
37 | a dump. | |
38 | .sh AUTHOR | |
39 | M. D. McIlroy | |
40 | .sh BUGS | |
41 | 9.2 footnote 1 is not enforced, causing trouble. | |
42 | .br | |
43 | Restrictions (7.) against mixing bundling primitives | |
44 | should be lifted. | |
45 | .br | |
46 | Certain hidden reserved words exist: gpar, classtab, trans. | |
47 | .br | |
48 | Octal digits include 8=10 and 9=11. |