本程序主要實現預測分析表的構造,并求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
上傳用戶:我干你啊