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


Generation of efficient LALR parsers for regular right part grammars
Authors:Ikuo Nakata  Masataka Sassa
Affiliation:(1) Institute of Information Sciences and Electronics, University of Tsukuba, Sakuramura, 305 Ibaraki, Japan
Abstract:Summary A method for building small fast LALR parsers for regular right part grammars is given. No grammar transformation is required. No extra state of the LALR parser for the recognition of strings generated by a right part is required. At some reduce states the parser may refer to lookback states (states in which the parser may be restarted after the reduction). An optimizing algorithm to reduce these references is also given.
Keywords:
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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