搜索资源列表
bianyi
- 该程序能够对if-else进行语法指导的翻译,并输出四元式- 条件语句的翻译分析程序设计 ——LR方法、输出四元式kl -compiler theory of curriculum design, if-else statements for the translation, grammatical analysis and lexical analysis.
LR
- 编译原理LR分析法的实现 以一个简单的文法实现-Compiler theory realization of LR analysis to achieve a simple grammar
4
- 目的:熟练掌握自下而上的语法分析方法,并能用程序实现。 要求: 1. 使用如下文法: E E+T | T T T*F | F F (E) | id 2. 对于任意给定的输入串(词法记号流)进行语法分析,要求采用LR分析器来完成。手工构造LR分析表,利用移进-归约分析算法(P69 图3.12)输出(P70 表3.8)对应的动作部分。如: 输入:id*+id+(id+id)# 输出:移进 按 F->id归约 移进 error
yacc
- 利用LR(1)分析表和状态图进行语法分析,里面有详细的报告说明-LR (1) analysis of the table and the state diagram syntax analysis, which has a detailed descr iption of the report
Compile-principle-experiment1-6
- 编译原理实验指导书 实验一 词法分析程序(扫描器)的设计 实验二 递归下降语法分析程序设计 实验三 LL(1)语法分析器设计 实验四 算符优先分析器设计 实验五 LR分析器设计 实验六 语法制导翻译程序设计-Compile term Principle Experiment Experimental Analysis of Instruction Program (scanner) is designed to test two recursive descent par
LL-LR-analysis
- 进行LL分析和LR分析的实验报告,含源码和结果显示。-LL LR analysis for the experimental analysis and reporting, including source code and results.
LR1
- 基于LR(1)的语法分析器,根据不同的文法规则,对C语言文件进行语法分析-Based on LR (1) parser, depending on the grammar rules, language files for parsing C
yffxq
- LR(0)语法分析器、对一段文法进行分析 判断是否为LR(0)文法-LR (0) parser for a grammar analysis to determine whether the LR (0) grammar
LL--LR
- 编译原理,构造LL分析表,LR分析器,含报告文档-Compiler theory, structural analysis table LL, LR parser, the document containing the report
MyComplier
- LR(0)编译器。用LR分析法实现语法与语义的编译器。-LR (0) compiler. LR analysis with the syntax and semantics to achieve the compiler.
Parsing
- 语法分析程序的设计与实现 方法2:编写LL(1)语法分析程序,要求如下: (1)编程实现算法4.2,为给定文法自动构造预测分析表; (2)编程实现算法4.1,构造LL(1)预测分析程序。 2. 方法3:编写语法分析程序实现自底向上的分析,要求如下: 构造识别所有活前缀的DFA。 构造LR分析表。 编程实现算法4.3,构造LR分析程序。 -Parser design and implementation of Method 2: preparat
LRanalyser
- LR语法分析程序,根据给定的语法判断输入是否符合语法-LR parser, the grammar given the input to determine whether the syntax
the-compiler
- 代码包含的功能:词法分析,语法分析,中间代码生成。使用的是LR语法分析技术。-the compiler.
LR
- LR文法预测分析,预测分析表的建立,及分析过程。-Some good cooks are gourmet cooks who pride themselves on always using extravagantly rich ingredients in elaborate recipes.
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,
LR
- LR0)分析表分析法,给出一个分析表含action和goto表,然后对给出的语句进行语法分析,规约判断! -it is a big plan
LR(1)
- 自己Java编的程序,有关语法分析,供大家参考一下-failed to translate
LRyufafenxi
- 用JAVA实现的LR(0)语法分析,功能完善,绝对原创-JAVA realization of LR (0) parsing, perfect function, the absolute originality
LR
- 简易的LR语法分析器,只能实现用SLR(0)语法分析,不能实现LR(1)-Simple LR parser, can only be realized SLR (0) parsing can not be realized LR (1)
LR1
- 构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。-Construct LR (1) analytical procedures, and use it to parse sentences of whether the judgment given string of symbols for grammar recognition LR (K) analysis method is stri