Efficient Algorithms for Automatic Construction and Compactification of Parsing GrammarsDownload PDFOpen Website

Published: 1987, Last Modified: 12 May 2023ACM Trans. Program. Lang. Syst. 1987Readers: Everyone
Abstract: Several computational problems about grammars are studied. Efficient algorithms are presented for the problems of (1) determining, for a given semantic grammar, if there exists a related parsing grammar in some specified grammar class, and (2) finding such a related parsing grammar when one exists. The two grammars are to be related by mergers of nonterminals and/or terminals. Efficient algorithms are presented for most of the grammar classes used in compilers. We also study the problem of (3) determining which terminals of a grammar are good candidates for merger into common lexical tokens of the corresponding parsing grammar.
0 Replies

Loading