Unix |
Unix v6 |
|
![]() |
tmg(6) |
![]() |
tmg compiler-compiler name produces a translator for the
language whose parsing and translation rules are described
in file name.t. The new translator appears in
a.out and may be used thus: input [ output ] Except in rare
cases input must be a randomly addressable file. If no
output file is specified, the standard output file is
assumed.
name.s: assembly language version of
name.t
/usr/lib/tmg: the compiler-compiler
/usr/lib/tmg[abc], /lib/libs.a: libraries
alloc.d: scratch file for table storage
A Manual for the Tmg Compiler-writing Language, internal
memorandum. Syntactic errors result in "???"
followed by the offending line.
Situations such as space overflow with which the Tmg
processor or a Tmg-produced processor can not cope result in
a descriptive comment and a dump. M. D. McIlroy Footnote 1
of Section 9.2 of Tmg Manual is not enforced, causing
trouble.
Restrictions (7.) against mixing bundling primitives should
be lifted.
Certain hidden reserved words exist: gpar, classtab, trans,
goto, alt, salt.
Octal digits include 8=10 and 9=11.
![]() |
tmg(6) | ![]() |