Title of article :
Enhancing the LR Parsing Strategy Using Incremental GPLR Parsing Method
Author/Authors :
Hani, Mouiad Abid Thi-Qar University - Education College - Computer Science Dept, Iraq , Hashim, Methaq Ibraheem Thi-Qar University - College of Education - Department of Computer Science, Iraq
Abstract :
Parsers in modern integrated development environments (IDEs) for generalpurpose languages are virtually all of ad hoc, recursive descent variety. While such parsers have many disadvantages when compared with machine-generated LALR(1) parsers but they have two major good qualities: they are not restricted to any finite of lookahead, and in IDE, they can re-parse parts of a file as they change rather than reparsing the entire file. Theoretically, both of these two capabilities can be achieved through variations of the traditional LR parsing techniques, but the traditional LR parsing methods still suffer two irresolvable problems; which are shift-reduce and reduce-reduce conflicts. In this research, we are trying to solve these two drawbacks with preserving the capabilities of the traditional LR parsing techniques. This has been achieved by employing the generalized piecewise LR parsing (GPLR) technique instead of the traditional LR techniques.
Keywords :
Generalized Piecewise LR(1) GPLR (1) , Chomsky Normal Form (CNF) , Context , Free Grammar (CFG) Integrated Development Environment (IDE) , Look , ahead LR(1) (LALR(1)) , Deterministic Finite State Automata (DFSA) , Cocke , Younger , Kasami (CYK).
Journal title :
Journal of Thi-Qar Science
Journal title :
Journal of Thi-Qar Science