DocumentCode :
1900694
Title :
Optimization of * operator in Parsing Expression Grammar
Author :
Goswami, Manish M. ; Raghuwanshi, M.M. ; Malik, Latesh
Author_Institution :
Dept. of CSE, GHRCE, Nagpur, India
fYear :
2015
fDate :
5-7 March 2015
Firstpage :
1
Lastpage :
6
Abstract :
Packrat Parsing uses recursive decent parsing technique with memorization so that result will not be recomputed. The main advantage is that it allows the use of unlimited look ahead without constraints on the power and flexibility of backtracking. However, this is achieved at the cost of huge memory size. In this paper an idea to eliminate the procedure calls representing production of grammar by using stack is used for optimizing* operator in PEG to reduce no. of Push and pop operations typically encountered in backtracking top down parser. Experimental results indeed show an improved performance over straightforward implemented recursive descent parser, Mouse tool.
Keywords :
backtracking; grammars; optimisation; recursive functions; Mouse tool; PEG; backtracking top down parser; optimization; optimizing* operator; packrat parsing; parsing expression grammar; recursive decent parsing technique with memorization; recursive descent parser; Grammar; Mice; Optimization; Pattern matching; Production; Programming; Random access memory; PEG; backtracking; grammar; packrat; parser;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Electrical, Computer and Communication Technologies (ICECCT), 2015 IEEE International Conference on
Conference_Location :
Coimbatore
Print_ISBN :
978-1-4799-6084-2
Type :
conf
DOI :
10.1109/ICECCT.2015.7226088
Filename :
7226088
Link To Document :
بازگشت