TMG (language)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

TMG (TransMoGrifier) is a compiler-compiler[1] created by Robert M. McClure and presented in 1968, and implemented by Douglas McIlroy.[2][3][4] TMG ran on systems like OS360 and early Unix.[5] It was used to build EPL, an early version of PL/I.[5] Ken Thompson used TMG in 1970 on PDP-7 as a tool to offer Fortran, but ended up creating the B programming language which was much influenced by BCPL.[2]

See also[edit]


  1. ^ - ~doug, 2012-12-20
  2. ^ a b - Early Unix history and evolution, 2004-04-09
  3. ^ McClure, R.M. (1965). "TMG—A Syntax-Directed Compiler". In L. Winner (ed.). Proceedings of the 1965 20th national conference (ACM '65). ACM. pp. 262–274. doi:10.1145/800197.806050.
  4. ^ McIlroy, M. D. (1987). A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 (PDF) (Technical report). CSTR. Bell Labs. 139.
  5. ^ a b - TMG, 2012-12-20