Programming Language

TMG (language)

Systems Language

TMG, short for Transmogrifier, is a recursive descent compiler-compiler developed by Robert M. McClure and presented in 1965. A compiler-compiler takes a description of a language and produces a translator for it, and TMG did this with a top-down parsing approach. It ran on systems including OS/360 and early Unix, and it was used to build EPL, an early version of PL/I. Douglas McIlroy ported TMG to an early version of Unix; according to Ken Thompson, McIlroy wrote TMG in TMG on a piece of paper and hand-compiled it into assembly language that he entered and assembled on Thompson's Unix system running on a PDP-7. Thompson used TMG in 1970 as a tool to offer Fortran, but memory limits on the PDP-7 led him to create the B programming language, which was much influenced by BCPL. Alexander Birman and Jeffrey Ullman later studied the recursive descent algorithm of TMG formally, and their formal description became known as the TMG recognition scheme, or TS.

Facts
Primary Use Domain
Compiler Construction 1
Sources
1. TMG (language) (Wikipedia)
Lead, purpose
Quote, Lead, purpose
TMG (Transmogrifier) is a recursive descent compiler-compiler
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.

Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme