Browse > Article
http://dx.doi.org/10.5626/JOK.2016.43.10.1079

Application of Single-State Parsing Automata to LR Grammars  

Lee, Gyung-Ok (Hanshin Univ.)
Publication Information
Journal of KIISE / v.43, no.10, 2016 , pp. 1079-1084 More about this Journal
Abstract
Single-state parsing automata have a characteristic such that the decision of an action depends only on the current state but not on the parsing history. The memory space and the parsing time of single-state parsing automata are less than the memory space and the parsing time of LR automata. However, the applicable grammar class of single-state parsing automata is less than that of LR automata. This paper provides extended single-state parsing automata, which are applicable to LR grammars. In the prior work, the special state, referred to as the cyclic state was not treated in the construction of single-state parsing automata, and hence, the applicable grammar class was less than LR grammars. The paper solves the problem of cyclic states by processing dynamic information depending on an input string. The proposed method expands the application of grammar class of single-state parsing automata to LR grammars.
Keywords
single-state parsing automata; parsing; LR automata; extended PLR grammars; LR grammars;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 G.-O. Lee, "Constructing a single state parsing automaton," Journal of KIISE: Software and Applications, Vol. 35, No. 11, pp. 701-705, 2008. (in Korean)
2 G.-O. Lee, "Grammar classes generating single state parsing automata," Journal of KIISE: Software and Applications, Vol. 41, No. 7, pp. 518-522, 2014. (in Korean)
3 D. E. Knuth, On the translation of languages from left to right, Information and Control, Vol. 8, pp. 607-623, 1965.   DOI
4 E. Soisalon-Soininen and E. Ukkonen, "A method for transforming grammars into LL(k) form," Acta Informatica, Vol. 12, pp. 338-369, 1979.
5 G.-O. Lee and K.-M. Choe, "A powerful LL(k) covering transformation," SIAM J. Computing, Vol. 35, No. 2, pp. 359-377, 2006.   DOI
6 A.V. Aho and J.D. Ullman, The Theory of Parsing, Translation and Compiling, Vols. 1 & 2, Prentice-Hall, Englewood Cliffs, NJ, 1972, 1973.
7 S. Sippu and E. Soisalon-Soininen. Parsing Theory, Vols. I & II, Springer, Berlin, 1990.