ll1文法分析,可求first follow 预测一份
上传时间: 2016-07-20
上传用户:gonuiln
用java语言编写的LL(1)文法分析程序,输出first集、follow集和分析表,并对输入串进行预测分析
上传时间: 2014-01-20
上传用户:xiaodu1124
这是一个完整的文法分析器,能识别FIRST、follow集,还有实验报告!
标签: 分析器
上传时间: 2016-07-28
上传用户:13517191407
用一门面向对象语言建立一个针对LL(1)文法分析构造演示器,输入定义好的文法,进行分析后在内存中建立其存储结构,判断其能用LL(1)文法分析后,建立其分析过程。 为此我们将本任务分解为以下内容: (1)文法的建立; (2)上下文无关文法的判定; (3)消除文法中一切左递归的算法; (4)文法二义性的判定; (5)LL(1)文法的判定; (6)消除直接左递归; (7)消除间接左递归; (8)直接左公因子的改造; (9)间接左公因子的改造; (10)递归子程序的构造; (11)根据布尔矩阵求follow集; (12)能导出ε的非终结符; (13)根据定义构造First集; (14)根据关系图构造First集; (15)根据定义构造follow集; (16)根据关系图构造follow集; (17)Select集的构造; (18)预测分析表的构造; (19)总控程序的构造; (20)语法树的演示; (21)根据总控程序输出语法树; (22)根据布尔矩阵求First集。 我所要完成的任务是 语法树的演示。
上传时间: 2016-07-30
上传用户:kelimu
编译原理课程设计,LL(1)方法,用FIRST()和follow(),SELECT(),以及预测分析表
标签: 编译原理
上传时间: 2013-12-24
上传用户:hphh
LL(1)方法,能够计算FIRSR()和follow()以及SELECT()
标签:
上传时间: 2013-12-16
上传用户:qq521
非常好的优化算法的书,详细介绍了蚁群算法和粒子群算法以及相关的matlab工具箱,讲了理论和应用给出了工具箱的下载地址。 Swarm intelligence is an innovative computational way to solve hard problems. In particular, particle swarm optimization, also commonly known as PSO, mimics the behavior of a swarm of insects or a school of fish. If one of the particle discovers a good path to food the rest of the swarm will be able to follow instantly even if they are far away in the swarm. Swarm behavior is modeled by particles in multidimensional space that have two characteristics: a position and a velocity. These particles wander around the hyperspace and remember the best position that they have discovered. They communicate good positions to each other and adjust their own position and velocity based on these good positions.
标签: 优化算法
上传时间: 2014-01-26
上传用户:zgu489
使用MFC实现编译原理词法分析器,里面包括求first集和follow集
上传时间: 2016-08-10
上传用户:lz4v4
LL1文法的实现,先输入语法规则,之后求出FIRST和follow,最后给出预测分析表。
标签: LL1
上传时间: 2013-12-28
上传用户:q123321
This book is for you if You re no "dummy," and you need to get quickly up to speed in intermediate to advanced C++ You ve had some experience in C++ programming, but reading intermediate and advanced C++ books is slow-going You ve had an introductory C++ course, but you ve found that you still can t follow your colleagues when they re describing their C++ designs and code You re an experienced C or Java programmer, but you don t yet have the experience to develop nuanced C++ code and designs You re a C++ expert, and you re looking for an alternative to answering the same questions from your less-experienced colleagues over and over again C++ Common Knowledge covers essential but commonly misunderstood topics in C++ programming and design while filtering out needless complexity in the discussion of each topic. What remains is a clear distillation of the essentials required for production C++ programming, presented in the author s trademark incisive, engaging style.
标签: intermediate you quickly dummy
上传时间: 2014-01-09
上传用户:wpwpwlxwlx