搜索资源列表
判断是否为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
LL1ForXp
- LL(1)文法,消除隐藏左递归,提取共因子,然后求First,Follow,Select集,以及预测分析表,最后进行预测分析-LL (1) grammar, the elimination of hidden left recursive, extracting a total factor, and then seek First, Follow, Select set, and the forecast analysis table, the final analysis of foreca
first&follow
- first和Follow分析相关算法 编译原理实验的一个内容,VC++编译
ll1yufafenxi
- ll1语法分析没有自动生成分析表和first follow集-ll1 syntax analysis is not automatically generate Table and first follow Set
yufafenxisaomiaochenxu
- 了解语法分析器的内部工作原理,通过在本次实验中运用一定的编程技巧,掌握对表达式进行处理的一种方法。① 对输入文法,由程序自动构造FIRST FOLLOW集② 对输入文法,由程序自动生成它的LL(1)分析表;③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。
yufafenxi_ll(1)
- 学编译原理时写的一个语法分析程序 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符号串是否为该文法的句型。
左递归文法分析源代码
- 输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出\"acc\",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。他会自动计算first,follow,预测分析表的构造,但并不输出。-importation has been eliminated and left recursive public from the left-LL (1) grammar, further impo
Cpp2
- ll1文法分析,可求first follow 预测一份
first+and+follow
- first集 与 follow集 编译原理
编译原理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!
LR1
- 利用字符二维数组对文法、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,
First-Follow
- 编译原理 求First和Follow集的C++源代码-Compiler Principle to Find First and Follow Sets
dalu
- 是有关编译原理的,可以自动对输入的??分析,生成first集和follow集-The principle is the compiler can automatically entered?? Analysis, generated first set and follow set
llApp(FR)
- ll(1)文法,First集,Follow集。预测分析表-ll (1) grammar, First Set, Follow sets. Forecast Analysis
first-follow
- slr program for parsers
first-follow-set--LR-LALR..
- 动态文法-规范LR分析器&LALR分析器,还有first,follow集的求解算法-Dynamic grammar- standard LR parser & LALR parser, as well as first, follow set of algorithms for solving
First-Follow-FIRSTVT-LASTVT
- 简单的First&Follow集的求取,可用于开发编译器-First & Follow simple set to strike, can be used to develop compiler
First-Follow
- Compiler lab assignment first- follow algorithm implementation using C/C-Compiler lab assignment first- follow algorithm implementation using C/C++
first-follow-by-CSB11070.tar
- First Follow for a grammar
cse340-first-and-follow-sets-master
- cse340-first-and-follow-sets-master in java