An Improved Context-Free Recognizer
Authors:
Open Access
- 1 July 1980
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Programming Languages and Systems
- Vol. 2 (3) , 415-462
Abstract
A new algorithm for recognizing and parsing arbitrary context-free languages is presented, and several new results are given on the computational complexity of these problems. The new algorithm is of both practical and theoretical interest. It is conceptually simple and allows a variety of efficient implementations, which are worked out in detail. Two versions are given which run in faster than cubic time. Surprisingly close connections between the Cocke-Kasami-Younger and Earley algorithms are established which reveal that the two algorithms are “almost” identical.Keywords
This publication has 17 references indexed in Scilit:
- An improved version of the Cocke-Younger-Kasami algorithmComputer Languages, 1978
- General context-free recognition in less than cubic timeJournal of Computer and System Sciences, 1975
- Efficient parsing algorithms for general context-free parsersInformation Sciences, 1975
- Syntax-directed least-errors analysis for context-free languagesCommunications of the ACM, 1974
- Formal development of correct algorithmsACM SIGACT News, 1972
- An efficient context-free parsing algorithmCommunications of the ACM, 1970
- Experience with an extensible languageCommunications of the ACM, 1970
- A machine-oriented recognition algorithm for context-free languagesACM SIGPLAN Notices, 1969
- The predictive analyzer and a path elimination techniqueCommunications of the ACM, 1965
- On the relative efficiencies of context-free grammarCommunications of the ACM, 1965