搜索资源列表
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 procedures of the LL (1) Forec
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 automatic matching process. First of
complie
- 输入一行文法,程序自动解析,采用LL(1)文法,消除左递归,建立预测分析表。-
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) grammar, and can find the grammar o
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
LL(1)
- 编译原理 LL(1)语法分析,预测分析表,分析字符窜-LL(1)yufa fenxi ,bianyi yuanli
LL(1)fenxi
- 编译原理 LL(1)语法分析,预测分析表,分析字符窜-LL(1)yufa fenxi ,bianyi yuanli
LL1_display5.11
- 本文描述了针对编译原理课程中LL(1)文法分析过程的演示系统的设计与实现过程。本系统在Visual C++环境中使用MFC类库开发实现。针对高效率和美观实用两个目标,分别设计了前台和后台。前台负责界面显示和用户交互,后台透明地执行LL(1)分析过程的相关操作,为前台提供数据。通过MFC的消息响应机制,将后台功能模块加入到前台相应功能菜单的消息函数中。前台界面提供了和用户交互的菜单,根据演示系统的需求以及LL(1)文法分析过程中的各个步骤,将前台分为七个模块,其中每个菜单项分别对应各自的功能模块。
complier
- 一个小型编译器,包含词法分析和语法分析,还有预测分析表-A small compiler, including lexical analysis and syntax analysis, as well as predictive analysis table
LR
- LR文法预测分析,预测分析表的建立,及分析过程。-Some good cooks are gourmet cooks who pride themselves on always using extravagantly rich ingredients in elaborate recipes.
LL1ForWin
- vc实现语法分析。LL1)文法预测分析表构造程序。-vc achieve parsing.LL1) grammar prediction table constructor.
grammar-analyser
- 1、任意输入一个文法G; 2、处理文法中可能存在的左递归和公共左因子问题; 3、对文法中的每个非终结符自动生成并打印输出: ① FIRST集; ② FOLLOW集; 4、判断处理后的文法是否为LL(1)文法,如果是,自动生成并打印输出其预测分析表; 5、模拟分析过程。 如输入一个句子,如果该句子合法则输出与句子对应的语法树;能够输出分析过程中每一步符号栈的变化情况。如果该句子非法则进行相应的报错处理。 -An arbitrary input to a gr
preTable
- 编译原理中用C++写的预测分析表的构建,对学习编译原理以及c++程序的编写有一定帮助-Compile the principle of using C++ written forecast table to build on the preparation of learning compiler theory and c++ program will definitely help
cybianyiyuanli
- 编译原理中实现了通过预测分析表分析符号串进行匹配并把匹配的结果以及匹配过程进行输出-Compiler principle is realized by prediction analysis table of string matching and the matching results as well as the matching process output