Efficient parsing algorithms for general context-free parsers
暂无分享,去创建一个
Abstract A family of parsing algorithms for general context-free grammars is described. Its members have a top-down structure, while performing tests similar to those introduced in both LR and LL algorithms. A theoretical study shows that the algorithms have the same time and space bounds as Earley's algorithms, which are particular members of the family. Empirical comparisons show the effectiveness of the new members of the family, which appear to be definitely better than Earley's algorithms, except for a few pathological grammars.
[1] Donald E. Knuth,et al. On the Translation of Languages from Left to Right , 1965, Inf. Control..
[2] Jacques Loeckx,et al. The Parsing for General Phrase-Structure Grammars , 1970, Inf. Control..
[3] Jay Earley,et al. An efficient context-free parsing algorithm , 1970, Commun. ACM.
[4] Richard Edwin Stearns,et al. Syntax-Directed Transduction , 1966, JACM.
[5] D. Wood,et al. A note on top-down deterministic languages , 1969 .