搜索资源列表
yufafenxisaomiaochenxu
- 了解语法分析器的内部工作原理,通过在本次实验中运用一定的编程技巧,掌握对表达式进行处理的一种方法。① 对输入文法,由程序自动构造FIRST FOLLOW集② 对输入文法,由程序自动生成它的LL(1)分析表;③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。
yufafenxi_ll(1)
- 学编译原理时写的一个语法分析程序 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符号串是否为该文法的句型。
bianyi
- ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。
左递归文法分析源代码
- 输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出\"acc\",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。他会自动计算first,follow,预测分析表的构造,但并不输出。-importation has been eliminated and left recursive public from the left-LL (1) grammar, further impo
ll1
- 计算first follow集,预测分析表
Cpp2
- ll1文法分析,可求first follow 预测一份
first+and+follow
- first集 与 follow集 编译原理
first+ang+follow
- first and folllw的算法 质量保证 操作简单
实验二:ll1语法判断
- 实验二:LL1语法判断 自定义一个文法集,输入文法产生式,计算文法的FIRST,FOLLOW和SELECT集合, 利用SELECT集合构造预测分析表,接着用预测分析程序,栈 和预测分析表对输入串进行分析,给出分析过程-Lab two: The LL1 grammar judgment from defines a grammar collection, the input grammar production pattern, computation grammar FIRST, FOL
编译原理First集合和Follow集合的求解
- 相信计算机专业的学生在学《编译原理》时都做了有关求first和follow集的问题。此程序用VC++做,相信会给大家一定的帮助。-it s sure that the student of computer do first and follow when learning <<compiler>>. This program uses vc++,and i am sure it is useful for everyone!
LL1文法分析
- LL1文法分析,可以求first,follow,select等
LL(1)文法分析
- 求一个文法的first,follow,select集判断该文法是不是LL(1)文法,生成该文法的预测分析表,输入字符串的分析表,以及相应的语法树。
first
- 二维傅里叶变换,对图像进行二维傅里叶变换处理-Two-Dimensional Fast Fourier Transform The purpose of this project is to develop a 2-D FFT program "package" that will be used in several other projects that follow. Your implementation must have the capabilitie
bianyi
- 编译原理词法分析求first集、follow集,用Java语言实现-Principles of lexical analysis compiled for first set, follow set, using Java language
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.
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!
ll(1)YUFAPANDUAN
- 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符
yufa2
- c++的语法分析程序 包括first集和follow集 功能比较齐全 编译老师留的大作业-c++ the syntax analysis process includes the first set and follow relatively complete feature set to remain the largest teachers compile operation
first
- verilog 初学者原代码,万事开头难,CPLD也如此,第一个成功的代码测试往往后续学习的信心。需要的朋友请进-beginners verilog source code, everything is hard in the beginning, CPLD is also the case, the first successful test of the code is often the confidence of the follow-up study. Come friend in n
FirAndFol
- 是用JAVA做得一个First和Follow胡算法程序,很实用,无错误!-JAVA done with a First and Follow procedures Hu algorithm, it is practical, error-free!