|
ABSTRACT
This paper describes a parser-generating system (PGS) currently in use on the CDC-6500 computer at Purdue University. The PGS is a Fortran-coded program that accepts a translation grammar as input and constructs from it a compact, machine-coded compiler. In the input translation grammar, each BNF syntactic rule corresponds to a (possibly empty) “code generator” realizable as an assembly language, Fortran or Algol, subroutine that is called whenever that syntactic rule is applied in the parse of a program.
Typical one-pass compilers constructed by the PGS translate source programs at speeds approaching 14,000 cards per minute. For an XPL compiler, the parser program and its tables currently occupy 288 words of 60-bit core memory of which 140 words are parsing table entries and 82 words are links to code generators.
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
|
|
 |
2
|
|
 |
3
|
|
| |
4
|
Ichbiah, J.D. Computer printout of an ALGOL 60 parser run through the Ichbiah-Morse system, 1971.
|
| |
5
|
McKeeman, W.M., Homing, J.J. and Wortman, D.B. A Copiler Generator. Prentice-Hall, Englewood Cliffs, N.J., 1970.
|
| |
6
|
Mickunas, M.D. User's manual for the PUCSD translatorwriting system. Comput. Sci. Dep., Purdue U., Lafayette, Ind., 1971.
|
| |
7
|
Schneider, V. Pushdown-store processors of context-free languages. Ph.D. diss., Northwestern U., Evanston, Ill., 1966.
|
| |
8
|
Schneider, V. A system for designing fast programming language translators. Proc. AFIPS 1969 SJCC, AFIPS Press, Montvale, N.J.; pp. 777-792.
|
| |
9
|
Schneider, V. Some syntactic methods for specifying extendible programming languages. Proc. AFIPS 1969 SJCC, AFIPS Press, Montvale, N.J.; pp. 145-156.
|
| |
10
|
Schneider, V. A translation grammar for ALGOL 68. Proc. AFIPS 1970 SJCC, AFIPS Press, Montvale, N.J., pp. 493-505.
|
 |
11
|
|
| |
12
|
Mickunas, M.D. and Schneider, V. B. Translation grammars for XPL and ALGOL 60. Tech. Rep., Comput. Sci. Dep., Purdue U., Lafayette, Ind., 1972.
|
CITED BY 6
|
|
M. D. Mickunas , R. L. Lancaster , V. B. Schneider, Transforming LR(k) Grammars to LR(1), SLR(1), and (1,1) Bounded Right-Context Grammars, Journal of the ACM (JACM), v.23 n.3, p.511-533, July 1976
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|