DESIGN AND IMPLEMENTATION OF A TABLE-DRIVEN COMPILER SYSTEM.
Technical rept. Sep 65-Apr 67,
MASSACHUSETTS INST OF TECH CAMBRIDGE PROJECT MAC
Pagination or Media Count:
The goal is to provide users of the table-driven compiler system with an environment within which they can freely design and produce compilers. The primary design criterion is generality so that the users can define a large class of input languages oriented toward any kind of problem-solving purposes, and can also define a large class of object programs to be executed on different computer systems. Therefore, the system is not limited to specific ways of doing syntactic analysis, or doing storage allocation, or producing binary programs of a specific format for a particular computer system. What is provided are mechanisms that are general enough for whichever way a user desires to build his compiler. The table-driven compiler system consists of a base program and two fixed higher-level languages--the Table Declaration and Manipulation Language and the Macro Interpretation Language--together with corresponding translators to generate control tables according to user specifications. A third higher-level language--the Syntax Defining Language--and its corresponding translator are also needed. For the generality and flexibility one tries to attain, less consideration is placed on efficiency. Author
- Computer Programming and Software
- Computer Systems