| Empirical comparison of LR(k) and precedence parsers |
| Full text |
Pdf
(653 KB)
|
| Source
|
ACM SIGPLAN Notices
archive
Volume 5 , Issue 11 (November 1970)
table of contents
COLUMN: Contributions
table of contents
Pages: 10 - 24
Year of Publication: 1970
ISSN:0362-1340
|
|
Authors
|
|
J. J. Horning
|
University of Toronto Computer Systems Research Group, Toronto, Canada
|
|
W. R. Lalonde
|
University of Toronto Computer Systems Research Group, Toronto, Canada
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 1, Downloads (12 Months): 8, Citation Count: 1
|
|
|
ABSTRACT
Knuth's LR(k) algorithm provides a more general basis for the syntactic portion of compilers than does precedence analysis. We have conducted experiments to determine, for practical grammars, how much this extra generality costs in efficiency. The results indicate that the extra generality of the LR(k) approach may often be accompanied by a reduction in table size and an increase in parsing speed.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
DeRemer, F. L., "Practical Translators for LR(k) Languages", Ph.D. thesis, Massachusetts Institute of Technology, Cambridge, Mass., August, 1969.
|
 |
2
|
|
 |
3
|
|
 |
4
|
|
| |
5
|
Ichbiah, J. D., private communication, July 1970.
|
| |
6
|
Knuth, D. E., "On the Translation of Languages from Left to Right", <u>Information and Control 8</u> (October 1965).
|
 |
7
|
|
| |
8
|
McKeeman, W. M., J. J. Horning, E. C. Nelson and D. B. Wortman, "The XPL Compiler Generator System", <u>AFIPS Conference Proceedings</u> 33 (1968 FJCC).
|
| |
9
|
McKeeman, W. M., J. J. Horning, and D. B. Wortman, <u>A Compiler Generator</u>, Prentice-Hall, 1970.
|
 |
10
|
|
|