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