|
ABSTRACT
A technique is developed for generating almost optimal Floyd-Evans productions given a precedence grammar. A graph formulation is used for the problem of merging productions. The productions generated correspond to the minimum cost inverse-arborescence of that graph. The validity of the technique is demonstrated for weak precedence grammars defined here, but the productions mechanically generated for any precedence grammar can often be modified in such a way that correct, almost optimal parsers are obtained.
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
|
BERGE, C., AND GHOUILA-HOIIRI, A. Programmes, jeux et roseaux de transport. Dunod, Paris, 1962, pp. 121-142.
|
| |
2
|
CHEATHAM, W. E., JR. The theory and construction of compilers. Notes for AM219 R, Harvard U., Cambridge, Mass., spring 1967.
|
| |
3
|
--. The introduction of definitional facilities into higher level programming languages. Proc. AFIPS 1966, Fall Joint Comput. Conf., Vol. 29, Spartan Books, New York, pp. 623-637.
|
| |
4
|
|
| |
5
|
EARLEY, J. C. Generating a recognizer for a BNF grammar. Computation Center Rep., Carnegie-Mellon U., Pittsburgh, Pa., 1965.
|
| |
6
|
EVANS, A., JR. An ALGOL 60 Compiler. Ann. Rev. Automatic Programming (1964) 87-124.
|
| |
7
|
Syntax analysis by a production language. Carnegie- Mellon U., Pittsburgh, Pa., 1965.
|
| |
8
|
FELDMAN, J. A. A formal semantics for computer oriented languages. Carnegie-Mellon U., Pittsburg., Pa., 1965.
|
 |
9
|
|
 |
10
|
|
| |
11
|
KAY, A. C. FLEX-A flexible extendable language. Tech. Rep. 4-7, U. of Utah, Salt Lake City, Utah, June, 1968.
|
| |
12
|
MONDSCHEIN, L. VITAL compiler-compiler reference manual. TN 1967-1, Lincoln Lab., MIT, Lexington, Mass., Jan. 1967.
|
| |
13
|
Rot, B. Cheminement et connexit~ dans les graphes, application aux problmes d'ordonnancement. Metra Special Serie No. 1., 1962, pp. 67-81.
|
 |
14
|
|
 |
15
|
|
| |
16
|
A manual for BASIC. Dartmouth Coll., Hanover, N. H., Jan. 1965.
|
 |
17
|
|
CITED BY 19
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|