搜索资源列表
LR0
- (1)构造文法G的LR(0)项目 (2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA (3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表 (4)设计LR语法分析程序,且能输出分析过程 (5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步) -(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0)
lll
- 实现了LL(1)文法分析,包括构造First、Follow集、预测分析表,并可检查输入串是否被接受。-The implementation of LL(1) analysis, including constructing the First, Follow set, Predictive Parsing Table. It can also test a string whether it is accepeted.
code
- 编译原理,预测分析器,可求出first集,follow集,并构造出LL(1)分析器-Compiler theory, prediction analyzer can be obtained first set, follow set, and construct LL (1) parser
LR0
- 对任意给定的文法G,完成识别文法活前缀的DFA、DFA的状态转化矩阵及LR(0)项目集规范族的构造;判断该文法是否为LR(0)文法,实现LR(0)分析表的构造,并输出到指定文件中;实现LR(0)分析器总控程序,对输入的表达式进行语法分析。-LR (0) Analysis Table and analyzer of structure