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 等数据库收录! |