当前位置:
首页
资源下载

搜索资源 - first and follow sets
搜索资源列表
-
2下载:
一个程序,用于判定给定的文法是否为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
-
-
2下载:
本设计使用C语言实现了对简单方法描述的LL(1)文法的判定。该设计程序实现了:⑴分别求出每一产生式的右部的FIRST 集、每一个非终结符的FOLLOW集和每一产生式的SELECT集;⑵判定是否是LL(1)文法;⑶画出预测分析表;⑷对给定的符号串判定是否是文法中的句子,分析过程在屏幕上打印出来。
欢迎大家给程序提出富贵意见!-the design of the C language to describe a simple method of LL (1) grammar convicted.
-
-
0下载:
利用字符二维数组对文法、First集、Follow集、终结符集、非终结符集等数据进行存储,还有一个是状态表存储DFA的状态。二维TAB表对其中的DFA表进行存储,横坐标是状态号,纵坐标为文法中的符号(终结符和非终结符)。-Two-dimensional array of characters to use grammar, First Set, Follow sets, at the end of sets, sets and other non-terminator data storage,
-
-
0下载:
利用预测分析技术识别句子,生成first集和follow集.-The use of predictive analysis technology to identify the sentence, generating first set and follow sets.
-
-
0下载:
编译原理 求First和Follow集的C++源代码-Compiler Principle to Find First and Follow Sets
-
-
0下载:
大学时的编译大作业,是对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!
-
-
0下载:
ll(1)文法,First集,Follow集。预测分析表-ll (1) grammar, First Set, Follow sets. Forecast Analysis
-
-
0下载:
给出给定LL(1)文法的FIRST和FOLLOW集,求出相应的分析表以及对给定字符串进行分析,判断是否属于该文法 -Give a given LL (1) grammar of the FIRST and FOLLOW sets, calculated the corresponding analysis table, as well as an analysis of the given string to determine whether or not belong to the gram
-
-
0下载:
封装非终结符集合的类Vn,可以求出
FIRST集和FOLLOW集。-Package of non-terminal symbol set of classes Vn, you can find the FIRST sets and FOLLOW sets.
-
-
0下载:
模拟编译时生成的FIRST集和FOLLOW集-FIRST compile-time simulation of the generated set and FOLLOW sets
-
-
0下载:
VS2010编写的LL(1)语法分析器,first和follow集合,构造预测分析表,以及对输入进行分析!-LL parser, seeking first and follow sets, table structure prediction analysis, and analysis of the input grammar!
-
-
0下载:
However, grammars that are not left recursive and are left factored may still not be LL(1).
To see if a grammar is LL(1), try to build the parse table for the predictive parser by the
method we are about to describe. If any element in the table c
-
-
0下载:
1、任意输入一个文法G;
2、处理文法中可能存在的左递归和公共左因子问题;
3、对文法中的每个非终结符自动生成并打印输出:
① FIRST集;
② FOLLOW集;
4、判断处理后的文法是否为LL(1)文法,如果是,自动生成并打印输出其预测分析表;
5、模拟分析过程。
如输入一个句子,如果该句子合法则输出与句子对应的语法树;能够输出分析过程中每一步符号栈的变化情况。如果该句子非法则进行相应的报错处理。
-An arbitrary input to a gr
-
-
0下载:
LL1,实现LL1的基本功能,实现first和follow集,-LL1, LL1 of the basic functions of first and follow sets
-
-
0下载:
编译原理课程实验求文法的first和follow集-Compiler principle course experiments seeking grammar first and follow sets
-
-
0下载:
SLR分析器SLR语法分析器,能求出FIRST、FOLLOW 集和构造出SLR分析表,出入一个句子,能动态演示匹配过程。(-The the SLR parser SLR parser can be obtained FIRST and FOLLOW sets and construct the SLR analysis table, and out of a sentence, dynamic presentation of the matching process. (
-
-
0下载:
it is a lecture on the first and follow set-it is a lecture on the first and follow set
-
-
0下载:
完成LL(1)语法分析器,包含FIRST集和FOLLOW集,预测分析表-LL (1) grammar analyzer, including FIRST and FOLLOW sets, forecast analysis table
-
-
0下载:
求LL1文法的first集,follow集以及文法的分析构造表。-Seeking LL1 grammar first set, follow sets and grammar analysis to construct the table.
-
-
0下载:
cse340-first-and-follow-sets-master in java
-