Back to Search Start Over

Generating Parsers for Affix Grammars.

Authors :
Crowe, David
Source :
Communications of the ACM; Aug1972, Vol. 15 Issue 8, p728-734, 7p
Publication Year :
1972

Abstract

Affix grammars are two-level grammars which are similar to van Wijngaarden's two-level grammars used in the definition of Algol 68. Affix grammars are shown by Koster to be equal in power to van Wijngaarden grammars. They are much more suited to parsing than are the latter, however. Koster, the inventor of affix grammars, suggests a top-down scheme for parsing them, based on recursive procedures. This paper presents a bottom-up scheme for parsing them, based on an extension of Floyd Production Language (FPL). Included is an algorithm, similar to that of DeRemer's, for converting a large class of affix grammars into FPL. The paper concludes by discussing briefly the applicabilities of the conversion algorithm and affix grammars in general, and some possible extensions to Koster's definition of affix grammars. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00010782
Volume :
15
Issue :
8
Database :
Complementary Index
Journal :
Communications of the ACM
Publication Type :
Periodical
Accession number :
5263770
Full Text :
https://doi.org/10.1145/361532.361539