LR(1)解析器生成系统:LR(1)错误恢复、Oracle和通用令牌
LR(1) Parser Generation System: LR(1) Error Recovery, Oracles, and Generic Tokens
摘要:
LR(1)解析器生成系统生成完整的LR(1)解析器,其速度和大小与LALR(1)解析器生成器(如yacc [5])生成的解析器相当。LR包含许多新特性。本文详细讨论了其中的三个:LR(1)文法指定的自动错误恢复算法,预言机和通用令牌。
英文摘要:
The LR(1) Parser Generation System generates full LR(1) parsers that are comparable in speed and size to those generated by LALR(1) parser generators, such as yacc [5]. LR contains a number of novel feature. This paper discusses three of them in detail: an LR(1) grammar specified automatic error recovery algorithm, oracles, and generic tokens.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。