搜索资源列表
2
- 本程序实现了预测分析表法分析文法的功能。-This procedure achieved a prediction analysis table analysis of functional grammar.
BYYN
- 用一门面向对象语言建立一个针对LL(1)文法分析构造演示器,输入定义好的文法,进行分析后在内存中建立其存储结构,判断其能用LL(1)文法分析后,建立其分析过程。 为此我们将本任务分解为以下内容: (1)文法的建立; (2)上下文无关文法的判定; (3)消除文法中一切左递归的算法; (4)文法二义性的判定; (5)LL(1)文法的判定; (6)消除直接左递归; (7)消除间接左递归; (8)直接
LL(1)
- LL(1)语法分析 预测分析表存放为产生式的编号,+1用于存放结束符,多+1用于存放#(-1)*-LL (1) syntax analysis and forecasting analysis of table storage for the production of ID,+ 1 for storage at the end, multi-+ 1 for storage of# (-1)*
LL(1)Analysis
- 大学时的编译大作业,是对LL(1)语法的分析过程,会产生first集,follow集和预测分析表!-University at the time of compiling large operations, is a LL (1) syntax analysis process, will have first set, follow sets and predictive analysis table!
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.
llApp(FR)
- ll(1)文法,First集,Follow集。预测分析表-ll (1) grammar, First Set, Follow sets. Forecast Analysis
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
yufa
- 1. 分析文法是否符合要求,适当消除左递归,提取左因子。 2. 分析新构造的产生式集合,构造预测分析表。实现LL(1)分析 3. 编写程序根据分析表输出结果---产生式的序列 -1
LL(1)Lexical_Analysis
- LL(1) 文法分析。。。 输出first集&&follow集&& 预测分析表。-LL(1)Lexical_Analysis
lr0
- lr(0)文法及其预测分析表 lr(0)文法及其预测分析表-lr (0) Analysis and prediction of grammar lr (0) Analysis and prediction of grammar lr (0) grammar analysis and forecast table
15883
- (1)、本代码实现语法分析的LL(1)分析法。 (2)、输入一个文法的所有产生式,由程序自动生成它的LL(1)预测分析表。 (3)、对于给定的输入串,能正确识别该串是否为给定文法的句型。 -(1), the parsing code of LL (1) analysis. (2), all of grammar enter a production, it is automatically generated by the
ll(1)fenxi
- 本程序是采用的LL(1)方法进行的语法分析,而LL(1)的分析方法是属于自上而下的方法。 自上而下分析的基本思想是:对任意输入串,试图用一切可能的方法,从文法开始符号(根结点)出发,自上而下为输入串建立一棵语法树。从推导的角度看,它是从文法的开始符号出发,反复使用各种产生式,寻找与输入串匹配的推导。 在输入之前必须要进行该文法是不是LL(1)文法的判断,然后再构造相应的LL(1)分析表来用预测分析方法进行语法分析,依
3
- 编译原理中用c++实现的用预测分析表实现语法分析器 -Principles of using c++ compiler implementation to achieve with predictive analysis table parser
yucefenxibiao
- 用C++实现的预测分析表,是编译原理中的一种系统-analyse table in bianyiyuanli
Prediction_program
- 对于任意输入的一个LL(1)文法,构造预测分析程序,输出输入串的自动匹配过程。首先实现集合FIRST(X)构造算法和集合FOLLOW(A)构造算法,再实现预测分析表构造算法。再构造预测分析程序,输出字符串的自动匹配过程。-For any input of a LL (1) grammar, structure prediction analysis program, import and export series of automat
complie
- 输入一行文法,程序自动解析,采用LL(1)文法,消除左递归,建立预测分析表。-
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.
analysis
- 输入一个文法,可得到文法的FIRST集、FOLLOW集、SELECT集,可以判断文法是否为LL(1)文法,并可求出文法的预测分析表,以及串的自顶向下的分析过程。输出很清晰。-Enter a grammar, the grammar of the FIRST sets available, FOLLOW sets, SELECT set, you can determine whether the grammar LL (1) gramm
1
- 编译原理课本中关于词法分析、预测分析表等的源代码-Compiler theory textbook on lexical analysis, forecasting and other source code analysis table
LL_1
- 编译原理——LL1文法构造,构造预测分析表-C源代码-this is the cpp file for LL1