Category:TMG: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
No edit summary
Line 1: Line 1:
'''TMG''' (from ''transmogrifier'') is an early compiler-compiler first developed 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.
'''TMG''' (from ''transmogrifier'') is an early compiler-compiler first developed 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:
* EPL (Early [[:Category:PL/I|PL/I]]) on Multics operating system
* [[:Category:B|B programming language]] by Ken Thompson


TMG influenced:
* [[:Category:B|B]] (via Unix TMG)
* TROL (Translation-Oriented Language) of Donald Knuth
* YACC


== Implementations ==
== Implementations ==
There are two ways to run Unix TMG on modern machines:
There are two ways to run Unix TMG on modern computers:
* by using a PDP-11 emulator with the original Unix V6 image
* by using a PDP-11 emulator with the original Unix V6 image
* 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]

Revision as of 08:35, 27 January 2020

TMG (from transmogrifier) is an early compiler-compiler first developed 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

Implementations

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

Manual