home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man6 / tmg.6 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.2 KB  |  52 lines

  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 \fIname\fB.t\fR.
  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. .nf
  23. \fIname\fB.s\fR: assembly language version of \fIname\fB.t\fR
  24. /usr/lib/tmg: the compiler-compiler
  25. /usr/lib/tmg[abc], /lib/libs.a: libraries
  26. alloc.d: scratch file for table storage
  27. .fi
  28. .sh "SEE ALSO"
  29. A Manual for the Tmg Compiler-writing Language,
  30. internal memorandum.
  31. .sh DIAGNOSTICS
  32. Syntactic errors result in "???" followed by the
  33. offending line.
  34. .br
  35. Situations such as space overflow
  36. with which the Tmg processor or a Tmg-produced
  37. processor can not cope result in a descriptive comment and 
  38. a dump.
  39. .sh AUTHOR
  40. M. D. McIlroy
  41. .sh BUGS
  42. Footnote 1 of Section 9.2 of Tmg Manual is not enforced,
  43. causing trouble.
  44. .br
  45. Restrictions (7.) against mixing bundling primitives
  46. should be lifted.
  47. .br
  48. Certain hidden reserved words exist: gpar, classtab, trans,
  49. goto, alt, salt.
  50. .br
  51. Octal digits include 8=10 and 9=11.
  52.