Category:TMG: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
(→‎Manual: +archive link to HOPL)
Line 24: Line 24:
* by running a modern [https://github.com/amakukha/tmg port of Unix TMG]
* by running a modern [https://github.com/amakukha/tmg port of Unix TMG]


== Manual ==
== 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://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>
* [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.)


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

Revision as of 09:29, 3 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