An LR Parser with Less States
This paper presents a new construction method of LR parser which is based on the theory of deterministic finite automata.The deterministic infinite automata are simplified for obtaining the LR parsing table with fewer states by merging the equivalent states.The new construction method has the same reorganization power as LALR parser but avoids the reduce/reduce conflict in LALR method.The experiment results show that the number of states in parsing table can be reduced greatly if the proposed method is used.
grammar parser grammar parsing table deterministic finite automata
TANG Hong-jun
Information Engineering Institute.HangZhou Dianzi University, HangZhou, China
国际会议
石家庄
英文
684-687
2012-10-26(万方平台首次上网日期,不代表论文的发表时间)