ll1文法分析,可求first FOLLOW 預(yù)測(cè)一份
上傳時(shí)間: 2016-07-20
上傳用戶(hù):gonuiln
用java語(yǔ)言編寫(xiě)的LL(1)文法分析程序,輸出first集、FOLLOW集和分析表,并對(duì)輸入串進(jìn)行預(yù)測(cè)分析
標(biāo)簽: java LL 語(yǔ)言 編寫(xiě)
上傳時(shí)間: 2014-01-20
上傳用戶(hù):xiaodu1124
這是一個(gè)完整的文法分析器,能識(shí)別FIRST、FOLLOW集,還有實(shí)驗(yàn)報(bào)告!
標(biāo)簽: 分析器
上傳時(shí)間: 2016-07-28
上傳用戶(hù):13517191407
用一門(mén)面向?qū)ο笳Z(yǔ)言建立一個(gè)針對(duì)LL(1)文法分析構(gòu)造演示器,輸入定義好的文法,進(jìn)行分析后在內(nèi)存中建立其存儲(chǔ)結(jié)構(gòu),判斷其能用LL(1)文法分析后,建立其分析過(guò)程。 為此我們將本任務(wù)分解為以下內(nèi)容: (1)文法的建立; (2)上下文無(wú)關(guān)文法的判定; (3)消除文法中一切左遞歸的算法; (4)文法二義性的判定; (5)LL(1)文法的判定; (6)消除直接左遞歸; (7)消除間接左遞歸; (8)直接左公因子的改造; (9)間接左公因子的改造; (10)遞歸子程序的構(gòu)造; (11)根據(jù)布爾矩陣求FOLLOW集; (12)能導(dǎo)出ε的非終結(jié)符; (13)根據(jù)定義構(gòu)造First集; (14)根據(jù)關(guān)系圖構(gòu)造First集; (15)根據(jù)定義構(gòu)造FOLLOW集; (16)根據(jù)關(guān)系圖構(gòu)造FOLLOW集; (17)Select集的構(gòu)造; (18)預(yù)測(cè)分析表的構(gòu)造; (19)總控程序的構(gòu)造; (20)語(yǔ)法樹(shù)的演示; (21)根據(jù)總控程序輸出語(yǔ)法樹(shù); (22)根據(jù)布爾矩陣求First集。 我所要完成的任務(wù)是 語(yǔ)法樹(shù)的演示。
上傳時(shí)間: 2016-07-30
上傳用戶(hù):kelimu
編譯原理課程設(shè)計(jì),LL(1)方法,用FIRST()和FOLLOW(),SELECT(),以及預(yù)測(cè)分析表
標(biāo)簽: 編譯原理
上傳時(shí)間: 2013-12-24
上傳用戶(hù):hphh
LL(1)方法,能夠計(jì)算FIRSR()和FOLLOW()以及SELECT()
標(biāo)簽:
上傳時(shí)間: 2013-12-16
上傳用戶(hù):qq521
非常好的優(yōu)化算法的書(shū),詳細(xì)介紹了蟻群算法和粒子群算法以及相關(guān)的matlab工具箱,講了理論和應(yīng)用給出了工具箱的下載地址。 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.
標(biāo)簽: 優(yōu)化算法
上傳時(shí)間: 2014-01-26
上傳用戶(hù):zgu489
使用MFC實(shí)現(xiàn)編譯原理詞法分析器,里面包括求first集和FOLLOW集
上傳時(shí)間: 2016-08-10
上傳用戶(hù):lz4v4
LL1文法的實(shí)現(xiàn),先輸入語(yǔ)法規(guī)則,之后求出FIRST和FOLLOW,最后給出預(yù)測(cè)分析表。
標(biāo)簽: LL1
上傳時(shí)間: 2013-12-28
上傳用戶(hù):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.
標(biāo)簽: intermediate you quickly dummy
上傳時(shí)間: 2014-01-09
上傳用戶(hù):wpwpwlxwlx
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1