首页 | 本学科首页   官方微博 | 高级检索  
     


Constructing LR parsers for regular right part grammars
Authors:Wilf R. LaLonde
Affiliation:(1) Department of Systems Engineering and Computing Science, Carleton University, C.J. Mackenzie Bldg., Colonel By Drive, K1S 5B6 Ottawa, Canada
Abstract:Summary Regular right part (RRP) grammars differ from context free (CF) grammars by virtue of the fact that the production right parts are nondeterministic finite automatons (FAs). LR(k) parsers for RRP grammars are linear time parsers which can determine the right end of each handle by considering at most k terminal symbols to its right and the left end (after the right end has been found) by considering at most one parse stack state to its left. This paper is concerned with the construction of a class of LR(k) parsers for RRP grammars which makes use of FAs for determining both the right and left ends of the handle.This work has been supported by a Carleton University grant and National Research Council of Canada grant no. A3585
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号