Browse > Article

Computation of Reusable Points in Incremental LL(1) Parsing  

Lee, Gyung-Ok (한신대학교 정보통신학과)
Abstract
Incremental parsing has been developed to reuse the parse result of the original string during the parsing of a new string. The previous incremental LL(1) parsing methods precomputed the reusable point information before parsing and used it during parsing. This paper proposes an efficient reusable point computation by factoring the common part of the computation. The common symbol storing method and the distance storing method were previously suggested to find the reusable point, and by combining the methods, this paper gives the storing method of the distance to common symbols. Based on it, an efficient incremental LL(1) parser is constructed.
Keywords
incremental parsing; LL(1) parser; LL(1) grammar;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 G.O. Lee, "An improved incremental LL(1) parsing method," Journal of KIISE : Software and Applications, vol.37, no.6, pp.486-490, 2010.(in Korean)   과학기술학회마을
2 A.V. Aho and J.D. Ullman, The Theory of Parsing, Translation and Compiling, vols. 1 & 2, Prentice-Hall, Englewood Cliffs, NJ, 1972, 1973.
3 M.D. Schwartz, N.M. Delisle, and V.S. Begwani, "Incremental compilation in Magpie," Proc. SIGPLAN 84 Symp. On Compiler Construction, Montreal, Canada, 1984, ACM SIGPLAN Notices, vol.19, pp.122-131, 1984.
4 J.F. Beetem and A.F. Beetem, "Incremental scanning and parsing with Galaxy," IEEE Trans. Software Engineering, vol.17, pp.641-651, 1991.   DOI   ScienceOn
5 W. Yang, "An incremental LL(1) parsing algorithm," Information Processing Letters, vol.48, pp.67-72, 1993.   DOI   ScienceOn
6 W. Li, "A simple and efficient incremental LL(1) parsing," Proceedings of the 22nd Seminar on Current Trends in Theory and Practice of Informatics (SOFSEM '95). Lecture Notes in Computer Science, vol.1012, Springer, New York, pp.399-404, 1995.
7 W. Li, "Building efficient incremental LL parsers by augmenting LL tables and threading parse trees," Comput. Lang., vol.22, no.4, pp.225-235, 1996.   DOI   ScienceOn
8 S. Sippu and E. Soisalon-Soininen. Parsing Theory, vols. I & II, Springer, Berlin, 1990.