Category:TMG: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Manual: +archive link to HOPL)
(→‎References: HOPL.info came back to life)
 
Line 25: Line 25:


== References ==
== References ==
* McIlroy, M. D. [https://www.tuhs.org/Archive/Distributions/Research/1972_stuff/tmg.pdf ''A Manual for the Tmg Compiler-writing Language''] (1972) <nowiki>[</nowiki>[https://amakukha.github.io/tmg/TMG_Manual_McIlroy_1972.html HTML version]<nowiki>]</nowiki>
* McIlroy, M. D. [https://amakukha.github.io/tmg/TMG_Manual_McIlroy_1972.html ''A Manual for the Tmg Compiler-writing Language''] (1972) <nowiki>[</nowiki>[https://www.tuhs.org/Archive/Distributions/Research/1972_stuff/tmg.pdf scanned original]<nowiki>]</nowiki>
* [https://web.archive.org/web/20070921161049/http://hopl.murdoch.edu.au/showlanguage.prx?exp=242 ''TMG – Compiler writing language'']. HOPL: Online Historical Encyclopaedia of Programming Languages. (Archive date September 21, 2007.)
* [http://hopl.info/showlanguage.prx?exp=242&language=TMG ''TMG – Compiler writing language'']. HOPL: Online Historical Encyclopaedia of Programming Languages.


[[Category:Programming Languages]]
[[Category:Programming Languages]]

Latest revision as of 11:19, 23 February 2020

Language
TMG
This programming language may be used to instruct a computer to perform a task.
Execution method: Compiled (machine code)
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using TMG.

TMG (from transmogrifier) is an early compiler-compiler introduced by Robert McClure in the mid-1960s. Later it was ported and further developed by Doug McIlroy of Bell Labs to work on microcomputers PDP-7 and PDP-11 under the UNIX operating system. McIlroy's dialect of TMG (the Unix TMG) was included into the UNIX operating system from Version 2 to Version 6. It was the first high-level programming language running on UNIX.


TMG was used to implement:


TMG influenced:

  • B (via Unix TMG)
  • TROL (Translation-Oriented Language) of Donald Knuth
  • YACC

Running

There are two ways to run Unix TMG on modern computers:

  • by using a PDP-11 emulator with the original Unix V6 image
  • by running a modern port of Unix TMG

References