Welcome![Sign In][Sign Up]
Location:
Search - action goto

Search list

[ELanguage4ex

Description: 实现LR(0)算法,在构造好的action和goto表的情况下实现LR(0)算法的句子分析过程
Platform: | Size: 2340 | Author: wangyin | Hits:

[ELanguage4ex

Description: 实现LR(0)算法,在构造好的action和goto表的情况下实现LR(0)算法的句子分析过程-The realization of LR (0) algorithm, a good action in the structure and goto table achieve LR (0) algorithm sentence analysis
Platform: | Size: 2048 | Author: wangyin | Hits:

[ELanguagelr1

Description: LR 语法分析 ACTION GOTO 表-LR parsing ACTION GOTO table
Platform: | Size: 2048 | Author: cultsharp | Hits:

[ELanguageSLR(1)

Description: SLR(1)分析表分析法,给出一个分析表含action和goto表,然后对给出的语句进行语法分析,规约判断!-SLR (1) analysis table analysis, give an analysis table with action and goto tables, and then parsing the statements given in the statute to judge!
Platform: | Size: 548864 | Author: 肖琴琴 | Hits:

[STLgrammar

Description: SLR语法分析器,自动生成。生成项目集,求First集,求Follow集,生成goto表和action表。-SLR parser, automatically generated. Build the project set, First set of requirements, seeking Follow sets, action table and goto table generation.
Platform: | Size: 50176 | Author: zhangqida | Hits:

[ELanguageLR-parser

Description: LR分析器设计 给定说明语句的拓广文法G[S ]如下: (0) S ->S (1) S->v I:T (2) I->I,i (3) I->i (4) T->r 其中v代表终结符var,r代表real。 其识别规范句型活前缀的DFA及LR(0)分析表如下: 输入 状态 ACTION表 GOTO表 v i , : r # S I T 0 S2 1 1 acc 2 S4 3 3 S6 S5 4 r3 r3 r3 r3 r3 r3 5 S9 8 6 S7 7 r2 r2 r2 r2 r2 r2 8 r1 r1 r1 r1 r1 r1 9 r4 r4 r4 r4 r4 r4 编程实现此文法的LR分析器,并设输入的文法的句子为: var i , i , i : real 给出输出结果 -LR parser design Given that statement, The Extension of the grammar G [S ] as follows: (0) S -> S (1) S-> v I: T (2) I-> I, i (3) I-> i (4) T-> r One representative of terminator v var, r representative of real. Living patterns of its identification Specification prefix DFA and LR (0) analysis as follows: Input GOTO table table status ACTION v i,: r# S I T 0 S2 1 1 acc 2 S4 3 3 S6 S5 4 r3 r3 r3 r3 r3 r3 5 S9 8 6 S7 7 r2 r2 r2 r2 r2 r2 8 r1 r1 r1 r1 r1 r1 9 r4 r4 r4 r4 r4 r4 Programming LR parser article law, and set the input sentence is the grammar: var i, i, i: real Given output
Platform: | Size: 212992 | Author: 浮云 | Hits:

[ELanguageLR

Description: LR0)分析表分析法,给出一个分析表含action和goto表,然后对给出的语句进行语法分析,规约判断! -it is a big plan
Platform: | Size: 2048 | Author: 小李 | Hits:

[Other101306118

Description: 实验三 LR分析法的实现 一、实验目的 实现一个关于表达式的LR语法分析程序,识别用户输入的包含变量与整数的混合算术表达式(不包含减法与除法运算)。 -二、实验主要内容 1、文法如下: 0) S E 1) E E+E 2) E E*E 3) E (E) 4) E i 2、对应的LR分析表如下: 状态 ACTION GOTO + * ( ) i # E 0     S2   S3   1 1 S4 S5       acc   2     S2   S3   6 3 r4 r4   r4   r4   4     S2   S3   7 5     S2   S3   8 6 S4 S5   S9       7 r1 S5   r1   r1   8 r2 r2   r2   r2   9 r3 r3   r3   r3   3、编程运用上述LR分析表,识别从键盘输入的算术表达式。 4、对于语法错误,要指出错误具体信息。
Platform: | Size: 2048 | Author: 石一峰 | Hits:

[ELanguageLR1

Description: 编译原理中的lr1分析程序, 主要实现功能:自动生成项目集族, 自动生成lr1分析表(action表和goto表), 对输入的句型进行分析-Compiler Principle lr1 analysis program, the main functions: automatic generation of item sets, which automatically generates lr1 analysis table (action table and goto tables), the analysis of the input sentence
Platform: | Size: 1780736 | Author: gan | Hits:

[ELanguagecompiler

Description: 类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的if else 和if等,功能比较强大-Class C language compiler, basically realized the C language syntax, lexical analysis of the main features of the use of state transition, syntax LR (1) method to automatically generate ACTION and GOTO jump table. Top-down syntax-directed translation, you can generate various types of expressions (including Boolean, arithmetic, logic, etc.), the loop while, selection if else and if so on, more powerful
Platform: | Size: 77824 | Author: 宋yucai | Hits:

CodeBus www.codebus.net