Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Simple and efficient BURS table generation

Published: 01 July 1992 Publication History

Abstract

A simple and efficient algorithm for generating bottom-up rewrite system (BURS) tables is described. A small prototype implementation produces tables 10 to 30 times more quickly than the best current techniques. The algorithm does not require novel data structures or complicated algorithmic techniques. Previously published methods for the on-the-fly elimination of states are generalized and simplified to create a new method, triangle trimming, that is employed in the algorithm.

References

[1]
Alfred V. Aho, Mahedevan Ganapathi, and Steven W. K. Tjiang. Code generation using tree matching and dynamic programming. ACM Transactions on Programming Languages and Systems, 11(4):491-516, October 1989.
[2]
A. Balachandran, D. M. Dhamdhere, and S. Biswas. Efficient retargetable code generation using bottom-up tree pattern matching. Computer Languages, 15(3):127-140, 1990.
[3]
David R. Chase. An improvement to bottomup tree pattern matching. In Proceedings of the ljth Annual Symposium on Principles of Programming Languages, pages 168-177, 1987.
[4]
Christopher W. Fraser and David R. Hanson. A code generation interface for ANSI C. Software--Practice and Experience, 21(9):963-988, September 1991.
[5]
Christopher W. Fraser and Robert R. Henry. Hard-coding bottom-up code generation tables to save time and space. Software-- Practice and Experience, 21(1):1-12, January 1991.
[6]
Christopher W. Fraser, Robert R. Henry, and Todd A. Proebsting. BURG -- fast optimal instruction selection and tree parsing. Technical Report 1066, University of Wisconsin, 1991.
[7]
David R. Hanson. Fast allocation and deallocation of memory based on object lifetimes. Software--Practice and Experience, 20(1):5- 12, January 1990.
[8]
Robert R. Henry. Encoding optimal pattern selection in a table-driven bottom-up treepattern marcher. Technical Report 89-02-04, University of Washington, 1989.
[9]
Eduardo Peiegri-Llopart. Rewrite Systems, Pattern Matching, and Code Generation. Phd Thesis, Technical Report UCB/CSD 88/423, Computer Science Division, University of California, Berkeley, 1988.
[10]
Eduardo Pelegri-Llopart and Susan L. Graham. Optimal code generation for expression trees: An application of BURS theory. In Proceedings of ~he 15th Annual Symposium on Principles of Programming Languages, pages 294-308, 1988.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 27, Issue 7
July 1992
352 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/143103
Issue’s Table of Contents
  • cover image ACM Conferences
    PLDI '92: Proceedings of the ACM SIGPLAN 1992 conference on Programming language design and implementation
    July 1992
    352 pages
    ISBN:0897914759
    DOI:10.1145/143095
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 July 1992
Published in SIGPLAN Volume 27, Issue 7

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)123
  • Downloads (Last 6 weeks)19
Reflects downloads up to 21 Nov 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media