Work

A general-purpose table-driven compiler

Year: 1964
Type: conference-paper
Abstract: If a compiler is to generate efficient object code, there are several different kinds of optimization which should take place. Each of these optimization procedures has a preferred domain: that is, some algorithms prefer to operate over the input string, others over the tree which describes the syntax of the string, others over the "macro-instructions" which are generated from the tree, and so forth. In an earlier paper, one of the present authors pointed out the necessity for employing the tree form in particular as a natural domain for optimizers which consider syntactic context and suggested that, just as Irons and others had built general-purpose table-driven parsing algorithms, one could also build a general-purpose table-driven program for getting from trees to macro-instructions. The final compiler design presented here is the result of pursuing that kind of thinking somewhat farther.
Authors: Stephen Warshall, Robert M. Shapiro
Language: English
Subfield: Software
Open Access status: bronze
OpenAlex ID: W2037926258
FWCI: 1.787
Cites: 3
Cited by: 19
Related to: 10