Header menu link for other important links
X
Extending Graham-Glanville techniques for optimal code generation
M. Madhavan, P. Shankar, S. Rai,
Published in Association for Computing Machinery (ACM)
2000
Volume: 22
   
Issue: 6
Pages: 973 - 1001
Abstract
We propose a new technique for constructing code-generator generators, which combines the advantages of the Graham-Glanville parsing technique and the bottom-up tree parsing approach. Machine descriptions are similar to Yacc specifications. The construction effectively generates a pushdown automaton as the matching device. This device is able to handle ambiguous grammars, and can be used to generate locally optimal code without the use of heuristics. Cost computations are performed at preprocessing time. The class of regular tree grammars augmented with costs that can be handled by our system properly includes those that can be handled by bottom-up systems based on finite-state tree parsing automata. Parsing time is linear in the size of the subject tree. We have tested the system on specifications for some systems and report table sizes.
About the journal
JournalData powered by TypesetACM Transactions on Programming Languages and Systems
PublisherData powered by TypesetAssociation for Computing Machinery (ACM)
ISSN01640925