本程序主要实现预测分析表的构造,并求first和foLLow集
上传时间: 2015-04-27
上传用户:vodssv
This companion disc contains the source code for the sample programs presented in INSIDE VISUAL C++ 5.0, as well as pre- compiled copies of the programs. To copy all of the sample code onto your hard disk, run the SETUP.EXE program and foLLow the instructions that appear on the screen. The sample code requires about 10 MB of hard disk space.
标签: companion the presented contains
上传时间: 2015-05-09
上传用户:mhp0114
LL(1)文法,消除隐藏左递归,提取共因子,然后求First,foLLow,Select集,以及预测分析表,最后进行预测分析
标签: LL
上传时间: 2014-12-19
上传用户:GHF
LCD and Keyboard ARMulator model for the ADS Source Code Copy the provided ARMulate folder into your ADS directory tree at the root, for example in c:\ADSv1_1. If prompted to overwrite files, choose Yes. The batch file copy_console.bat will place the appropriate files inside the \Bin directory so that they will be found by the ARMulator. You still need to foLLow the instructions under "Using the Model" to set up the configuration files.
标签: ARMulator the Keyboard ARMulate
上传时间: 2014-02-25
上传用户:woshini123456
了解语法分析器的内部工作原理,通过在本次实验中运用一定的编程技巧,掌握对表达式进行处理的一种方法。① 对输入文法,由程序自动构造FIRST foLLow集② 对输入文法,由程序自动生成它的LL(1)分析表;③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。
上传时间: 2014-01-06
上传用户:13215175592
这是写给作为软件工程项目经理的书,原书的书评是: "If you re looking for solid, easy-to-foLLow advice on estimation, requirements gathering, managing change, and more, you can stop now: this is the book for you." --Scott Berkun, Author of The Art of Project Management
上传时间: 2013-12-17
上传用户:225588
学编译原理时写的一个语法分析程序 一.[目的要求] ① 对输入文法,由程序自动构造FIRST foLLow集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符号串是否为该文法的句型。
上传时间: 2015-10-17
上传用户:ippler8
Input The first line of the input contains a single integer T (1 <= T <= 20), the number of test cases. Then T cases foLLow. The first line of each case contains N, and the second line contains N integers giving the time for each people to cross the river. Each case is preceded by a blank line. There won t be more than 1000 people and nobody takes more than 100 seconds to cross. Output For each test case, print a line containing the total number of seconds required for all the N people to cross the river. Sample Input 1 4 1 2 5 10 Sample Output 17
标签: the contains integer number
上传时间: 2015-10-27
上传用户:plsee
① 对输入文法,由程序自动构造FIRST foLLow集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。
标签: 输入
上传时间: 2013-12-29
上传用户:253189838
输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出"acc",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。他会自动计算first,foLLow,预测分析表的构造,但并不输出。
上传时间: 2014-01-04
上传用户:我干你啊