搜索资源列表
121212
- 汇编语言的作业要求根据G 2文法的预测分析表来判断一个语句是否符合G 2文法,并且显示出处理过程及调用预测分析表的情况.-assembly language under the operational requirements of the G 2 grammar Table Forecast and Analysis to determine whether a statement G 2 grammar, and shows the process and called prediction
语法分析器:递归下降子程序的编写
- 语法分析器:递归下降子程序的编写 通过本实验,了解递归下降预测分析的原理和过程以及可能存在的回溯问题,探讨解决方法,为预测分析表方法的学习奠定基础。分析递归下降子程序的优缺点。-Parser: recursive descent routines written by this study to understand the principle of recursive descent and the process of predictive analysis, and possibl
yf.rar
- 构造实验一所给文法(应考虑改造)的FIRST集合和FOLLOW集合;构造LL(1)分析表;构造预测分析的总控程序;利用分析表、分析栈和总控程序对源程序进行自上而下的语法分输出整个语法分析过程中栈的变化过程及分析结果,如符合语法规则输出“正确”,否则输出“错误”。 ,Experiment to construct a grammar (should consider the transformation) of FIRST and FOLLOW set of the collection co
yucefenxifa
- 目的是在栈、表以及预测分析法原理的基础上,实现预测分析表的建立和控制程序。-Aim is to stack, table, as well as the principle of prediction analysis on the basis of the analysis table to achieve the establishment of forecasting and control procedures.
LL1_grammar_analysis_code
- 功能基本实现,录入合法的LL1文法,将输出LL1预测分析表-Function of the basic implementation, input the valid LL1 grammar, you ll get the output-LL1 prediction analysis table
CompileDesign
- 本次课程设计主要实现语法分析器的构造,该语法分析器能够分析词法分析器的结果,即单词二元式。在输入单词二元式后,能输出分析的结果。 1、构造LL(1)分析表 2、求句子的预测分析过程-The main achievement of the curriculum design of the structure parser, the syntax analyzer to analyze the results of lexical analyzer, that is, the dual-ty
yucefenxi
- 编译原理课程设计 构造预测分析程序,程序显示输出匹配过程-Compiler Construction Principles of curriculum design procedures for prediction analysis, the program shows the output matching
yucefenxi
- 编译原理课程设计 构造预测分析程序 程序显示输出匹配过程-Compiler Construction Principles of curriculum design process procedures for prediction analysis showed that the output matching
LL1
- 能够实现LL(1)预测分析过程的源码,有测试用例-To achieve LL (1) Prediction of the process of source code, there are test cases
complier
- 编写识别表达式文法的合法句子的预测分析程序,对输入的任意符号串,给出分析过程及分析结果。分析过程要求输出步骤、分析栈、剩余输入串和所用产生式。如果该符号串不是表达式文法的合法句子,要给出尽量详细的错误提示。-Write a sentence identifying the legitimate expression grammar prediction analysis program, the input string of arbitrary symbols, given the analy
Calculator
- 非递归预测分析表达式的计算器,该分析语法可以计算表达式的值-Prediction of non-recursive expression calculator, the analysis value of the expression syntax can be calculated
bian-yi-yuan-li-kechengsheji
- 编译原理课程设计:建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“输入串分析成功”,否则输出“输入串语法错误”。-Principles of Course Design Compiler: A Grammar and LL (1) of the table that the data structure, design and implement the corresponding pr
forecastanalysis
- 实验内容:根据课堂讲授的形式化算法,编制程序实现一个预测分析器,能对常见的算术表达式语句进行分析 实验要求: a)组织算术表达式的输入; b)若输入的符号串是一个算术表达式语句,则输出分析过程,否则输出一个错误-Experiment: algorithm according to the formal classroom teaching, the preparation process to achieve a prediction analyzer, capable of com
Syntax_Analysis-LL(1)-LCC
- 编译原理之语法分析LL(1) (1)消除左递归 (2)求First集 (3)求Follow集 (4)预测分析表 (5)预测分析过程-Compiler theory of parsing LL (1) (1) elimination of left recursion (2) Find First Set (3) Find Follow set (4) prediction of sheet (5) prediction analysis
SyntaxAnalysisL-R
- 实现编译原理的LL(1)和LR(0) (1)语法分析LL(1) (2)语法分析LR(0) (3)输出分析过程如First、Follow集、预测分析表 (4)输出预测分析过程、LR(0)自动机 (5)对输入字符串的验证-Principle to achieve compile LL (1) and LR (0) (1) parsing LL (1) (2) parsing LR (0) (3) the output of the process, such
Predictive-Analysis
- 通过完成预测分析法的语法分析程序,了解预测分析法和递归子程序法的区别和联系。使了解语法分析的功能,掌握语法分析程序设计的原理和构造方法,训练掌握开发应用程序的基本方法。-Prediction Analysis by completing the parser to understand the analysis and prediction of difference between the recursive subprogram and contact. To understand the
bbb
- 编译原理中的预测分析法,中的C程序代码。这已经的很简单的方法编的程序了,不过修改一下可以自行对自己输入的语法进行分析-Compiler theory in the prediction analysis, the C code. This has a very simple way to make programs, but change it for their own analysis of the syntax of the input
yufa
- VS2010编写的LL(1)语法分析器,first和follow集合,构造预测分析表,以及对输入进行分析!-LL parser, seeking first and follow sets, table structure prediction analysis, and analysis of the input grammar!
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
gammar
- 词法分析器和语法分析器,递归下降和预测表分析的方法-Lexical analyzer and parser, recursive descent methods of analysis and prediction table