搜索资源列表
mml.doc.rar
- 编译原理 课程设计报告: 预测分析表的构造
判断是否为ll(1)文法程序
- 一个程序,用于判定给定的文法是否为LL(1)文法。 实现了:1.文法的机内表示;2. FIRST集和FOLLOW集的计算; 3. LL(1)预测分析表的构造。-a procedure for the determination of grammar to whether LL (1) grammar. Realized : 1. Grammar said the machines; 2. FIRST FOLLOW sets and set computing; 3. LL (1) Forecas
预测分析法
- 这是一个用c++写的预测分析法程序,是编译原理课程设计的内容,可以预测分析语言-c write with the forecast analysis procedures, compiler theory of curriculum design, analysis can predict language
liuziyancompile
- 本程序用于自顶向下的语法分析。只您输入的上下问无关文法进行分析,并构造出预测分析表。-procedure for the top-down syntax analysis. Only you enter the ministry asked not grammar analysis and structural analysis projected table.
predictAnalysis
- 本程序主要实现预测分析表的构造,并求first和follow集-the procedure main table Forecast and Analysis, and the construction and follow for first set
左递归文法分析源代码
- 输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出\"acc\",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。他会自动计算first,follow,预测分析表的构造,但并不输出。-importation has been eliminated and left recursive public from the left-LL (1) grammar, further impo
LL1文法分析ForWin
- 录入合法的LL(1)文法,将输出LL(1)预测分析表- Inputs legitimate LL (1) the grammar, will output LL (1) to forecast the analytical table
句子识别程序(预测分析法)
- 一个句子识别程序(预测分析法)原程序,是用vc++编写的,很不错哦-a sentence identification procedures (Prediction) program, is prepared by the vc, oh very good
预测分析法
- #include #include #include #define MAX 30 int table[5][6]; char stack[30]; int top=0; char buffer[MAX]; int buf=0; void start()//初始化预测分析表
某小型语言的预测分析器
- 设计一个小型语言,要求有基本的程序语句,给出该小型语言的LL(1)文法,用预测分析法实现对该小型语言的LL(1)文法的语法分析。
77433621yufafenxi
- 递归下降分析和预测分析,为课设烦恼的同学们的福音,-Recursive descent analysis and forecasting analysis, for the class-based anxieties of the Gospel of the students,
945488dgxj
- 递归下降分析和预测分析,呵呵,希望大家喜欢-Recursive descent analysis and predictive analysis, huh, huh, I hope you like
ll(1)fenxi
- 本程序是采用的LL(1)方法进行的语法分析,而LL(1)的分析方法是属于自上而下的方法。 自上而下分析的基本思想是:对任意输入串,试图用一切可能的方法,从文法开始符号(根结点)出发,自上而下为输入串建立一棵语法树。从推导的角度看,它是从文法的开始符号出发,反复使用各种产生式,寻找与输入串匹配的推导。 在输入之前必须要进行该文法是不是LL(1)文法的判断,然后再构造相应的LL(1)分析表来用预测分析方法进行语法分析,依据下面的文法及分析表来设计程序实现预测分析的分析过程。
LL(1)Parser.C
- 一个简单的LL(1)带预测的语法分析器源代码-A simple LL (1) with a predictable source code parser
LL(1)
- 运用VB编写的一个关于编译原理实践的LL(1)预测分析系统,可视化界面,方便。-Prepared using a VB compiler theory practice on LL (1) forecast analysis system, visual interface and convenient.
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
LL1parserVS2010
- LL1语法分析器,FIRST集合的构造,FOLLOW集合的构造,消除左递归,预测分析表 C++语言开发,工具VS2010-LL1 parser, FIRST set of the structure, FOLLOW set of the structure, elimination of left recursion, predictive analysis table C++ language development tools for VS2010
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
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