搜索资源列表
slr(1)
- 是用slr(1)法做的一个语法分析器,写的比较简单,不过运行的还是不错的。-is slr (1) Act do a parser, written in relatively simple, but is still running well.
SLR(1)
- 用SLR(1)方法实现的类C语言的编译器的语义分析程序。-with SLR (1) Realization of the Class C language compiler is the semantic analysis procedures.
SLR
- 实验SLR(1)分析表的构造,和大家分享一下.
SLR(1)_compiler
- c语言实现,slr(1)语法分析,语法分析的ation表和goto表分别用txt文档保存。
编译原理课程设计 SLR(1)语法分析
- 编译原理课程设计 SLR(1)语法分析!我做的,就是没有运行结果,大家先用着-Course Design Compiler Principle SLR (1) syntax analysis! I do, is not running, we used to first
SLR(1)
- 编译原理SLR(1)语法分析器-SLR(1)
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)
SLR1
- 该程序为一个手工编码实现的简单SLR语法分析器,其词法分析器调用接口为lex(),语法分析调用接口为SLR1()。-The program is a simple hand-coded implementation SLR parser, the lexical analyzer is called interface lex (), parsing call interface for the SLR1 ().
whale-0.3.2-src
- Complete support for EBNF notation; Object-oriented parser design; C++ output; Deterministic bottom-up "shift-reduce" parsing; SLR(1), LALR(1) and LR(1) table construction methods; Automatic parse tree creation; Possibility to output parse tree in XM
SLR(1)Analyzer
- 计算机编译原理相关实验3:一个用SLR(1)文法自底向上的语义分析器-Compilation Principle of computer-related experiment 3: a used SLR (1) Bottom-up grammar semantic analyzer
lr0
- LR分析法是一种自下而上进行规范归约的语法分析法,L指从左到右扫描输入符号串,R是指构造最右推导的逆过程。对大多数无二义性上下文无关文法描述的语言都可用它进行有效的分析。主要分析器有LR(0),SLR(1),LR(1),LALR(1): LR(0):在分析的每一步,只需根据当前栈顶状态而不必向前查看输入符号就能确定应采取的分析动作。所能分析的LR(0)文法要求文法的每一个LR(0)项目集中都不含冲突项目。 -LR analysis is a bottom-up norms to r
shiyanbaogaoyangli
- 这个报告记录了编译原理的大作业的过程和各个阶段的设计,包括词法分 析、语法分析、语义分析和汇编代码生成四个阶段,在语法分析时我采用了两种 语法分析,即一种自上而下的语法分析方法——LL(1)分析法,另一种是自底向 上的语法分析方法——SLR(1)分析法,这样可以了解到这两种不同的基本分析方 法,这样在语义分析阶段也要分这两种方法处理语义动作,并且要个产生式分别 编写语义动作。-The report recorded a big operation principle comp
LR
- 一个slr(1)的 语法分析器 可以自行输入文法-1 slr (1) parser can enter your own grammar
SLR(1)
- 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!
SLR(1)
- SLR(1)文法的编译课程设计,内容详细,有LL(1)文法,和SLR(1)分析表,能够对规范试进行分析
SLR1
- 在VC下打开LRTrans1.dsp,阅读工程LRTrans1,LRTrans1为一个加、乘(适当扩充可为四则)运算表达式的SLR语法分析器,规定其文法如下: 文法3: (0) S ->E (1) E->E+E (2) E->E*E (3) E->(E) (4) E->i 经分析其SLR(1)分析表如下(分析表按“操作符运算优先级和运算符的结合率”方法解决冲突——*优先集高于+,*和+的结合率均为左结合) -In
slr
- SLR(1)分析程序,用来分析符号串是否为合法的符号串-SLR (1) analytical procedures used to analyze whether the legitimate symbol string symbol string
slr(1)
- SLR(1)分析法的引入是当文法的LR(0)项目集规范族中存在移进-归约冲突或归约-归约冲突时,可以通过向前查看一个符号的办法来进行处理,以解决冲突。-SLR (1) analysis method was introduced when the grammar of the LR (0) item sets exist in family moved into the specification- reduce conflicts or reduction- reduce conflicts,
SLR
- 程序输入为形如i+i*i# 或者ii#的串,对于SLR(1)分析,输出为包括分析步骤、分析栈情况、剩余输入串以及分析动作在内的分析过程,并考虑增加语义分析生成中间代码功能的程序扩展。-Program input shape i+i* i# or ii# string for the analysis of the SLR (1), the output analysis to include steps to analyze the analysis process, including the
slr
- SLR(1)分析法是一种简单而使用的方法,其造表算法简单,状态数目少,且大多数程序设计语言都可以用SLR(1)文法来定义。所以SLR(1)分析法是个很使用的分析程序。在编写过程中老师的对我帮助很大,在这里好十分感谢老师王治国。软件设计是需要一整套程序,一整套基础理论才能完成的,以后要学习的还会更多了-just soso