1.3 Translation Schemes

1.3.1 T-diagram

Most of the translation schemes accept some input code in a specified source language, translates it using a program which is written in its implementation language and generates an output in a specified target language, as shown in Fig. 1.2. The translation program itself works on some specified system – a combination of hardware and operating system software. To depict this arrangement in a compact way, the so-called T-diagrams are traditionally used. A general T-diagram is shown in Fig. 1.3. The arrow over the middle upper box indicates the direction of information processing. Sometimes, we may have to extend this symbolism by adding more components such as, e.g., the hardware platform on which the translator ...

Get Compilers: Principles and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.