• <tfoot id="g4000"></tfoot>
      <ul id="g4000"><sup id="g4000"></sup></ul>
        <fieldset id="g4000"><input id="g4000"></input></fieldset>
        論文格式
        電氣工程 會計(jì)論文 金融論文 國際貿(mào)易 財(cái)務(wù)管理 人力資源 輕化工程 德語論文 工程管理 文化產(chǎn)業(yè)管理 信息計(jì)算科學(xué) 電氣自動化 歷史論文
        機(jī)械設(shè)計(jì) 電子通信 英語論文 物流論文 電子商務(wù) 法律論文 工商管理 旅游管理 市場營銷 電視制片管理 材料科學(xué)工程 漢語言文學(xué) 免費(fèi)獲取
        制藥工程 生物工程 包裝工程 模具設(shè)計(jì) 測控專業(yè) 工業(yè)工程 教育管理 行政管理 應(yīng)用物理 電子信息工程 服裝設(shè)計(jì)工程 教育技術(shù)學(xué) 論文降重
        通信工程 電子機(jī)電 印刷工程 土木工程 交通工程 食品科學(xué) 藝術(shù)設(shè)計(jì) 新聞專業(yè) 信息管理 給水排水工程 化學(xué)工程工藝 推廣賺積分 付款方式
        • 首頁 |
        • 畢業(yè)論文 |
        • 論文格式 |
        • 個人簡歷 |
        • 工作總結(jié) |
        • 入黨申請書 |
        • 求職信 |
        • 入團(tuán)申請書 |
        • 工作計(jì)劃 |
        • 免費(fèi)論文 |
        • 合作期刊 |
        • 論文同學(xué)網(wǎng) |
        搜索 高級搜索

        當(dāng)前位置:論文格式網(wǎng) -> 畢業(yè)論文 -> 計(jì)算機(jī)論文
        畢業(yè)論文標(biāo)題:

        一個編譯原理語法分析器的實(shí)現(xiàn)與設(shè)計(jì)

         本文ID:LWGSW13736 價(jià)格:收費(fèi)積分/100
        掃一掃 掃一掃
        本站會員可自行下載:下載地址 一個編譯原理語法分析器的實(shí)現(xiàn)與設(shè)計(jì) (收費(fèi):1000 積分)  

        論文字?jǐn)?shù):8595,頁數(shù):27

          摘  要
        編譯程序一般由詞法分析程序、語法分析程序、語義分析程序、中間代碼生成程序、目標(biāo)代碼生成程序、代碼優(yōu)化程序、表格管理程序和出錯處理程序等成分構(gòu)成。在編譯原理的教學(xué)過程中,算法的講解都需要對算法進(jìn)行詳細(xì)的分析,包括算法條件的判斷,文法分析表的構(gòu)造過程,文法分析表的具體生成,針對文法的句子的分析過程等,這些過程往往需要占用大量時間來分析、制表等。本軟件的主要任務(wù)就是利用程序來完成算法的上述相關(guān)過程,以達(dá)到高效,直觀的效果。本文旨在介紹語法分析方法中的一種自上而下的分析方法——LL(1)分析法。所謂LL(1)分析法是指語法分析是按自左至右的順序向前查看一個輸入字符串,并分析過程中產(chǎn)生句子的最左推導(dǎo)。

        關(guān)鍵詞:編譯;語法分析;LL(1)算法;演示
        The Design and Implementation of A Syntax Analyzer based on Compilation Theory
         Abstract
        The compiler generally is made up of the lexical analyzer program, the syntax analysis program, the semantics analysis program, the inter-language production procedure, the goal code production procedure, the code optimization procedure, the form executive program and the procedure of disposing mistakes. In the teaching process of compiler principle, all algorithm explanation needs to be explain clearly, including algorithm condition judgment, grammar analytical table structure process, grammar analytical table concrete production, in view of grammar sentence analysis process and so on. These processes often take much time to analyze, the scheduling and so on. This program mainly work is to complete the algorithm which take advantage of the procedure to deal with those above mentioned processes , in order to save time. The paper aims at introducing a syntax analytical method named LL(1) algorithm which from the up to down. The syntax analyzer analyzes the character string beginning from the left to right one word each time and educes the most left deduction of the sentence in the analyze course..

        Key words: compiler; grammar analysis; LL(1) algorithm; demonstrate


        目  錄

        1引言 1
        1.1項(xiàng)目背景 1
        1.2目標(biāo) 1
        1.3名詞解釋 1
        1.4算法簡介 2
        1.4.1自頂向下分析 2
        1.4.2 遞歸子程序 3
        1.4.3 LL(K)分析方法 4
        1.4.4 LL(1)分析方法 4
        1.4.5LL(1)分析表 5
        2 系統(tǒng)流程圖 6
        2.1程序流程圖 6
        2.2 系統(tǒng)模塊流程圖 7
        3 系統(tǒng)實(shí)施 7
        3.1文件讀取模塊 8
        3.1.1文件讀取使用的CommonDialog控件介紹 8
        3.1.2文法左遞歸的判斷 9
        3.2算法分析模塊 9
        3.2.1求select集 9
        3.2.2求first集 10
        3.2.3求follow集 10
        3.3分析表構(gòu)造模塊 12
        3.3.1構(gòu)造文法分析表 12
        3.3.2A::=aβ規(guī)則 13
        3.3.3A::=Dβ規(guī)則 13
        3.3.4A::=ε規(guī)則 13
        3.4句子分析模塊 13
        3.4.1讀取句子 14
        3.4.2分析句子 14
        4 特殊問題及解決方法 14
        4.1 Select集的求解 15
        4.1.1 問題描述 15
        4.1.2 解決方案 15
        4.1.3 解決結(jié)果 15
        4.2為ListBox添加水平滾動條 15
        4.2.1 問題描述 15
        4.2.2 解決方案 15
        4.2.3 解決結(jié)果 16
        5 結(jié)果測試 16
        5.1測試正確文法 16
        5.2測試錯誤文法 19
        結(jié)  論 20
        參考文獻(xiàn) 20
        致  謝 21
        聲  明 22


        相關(guān)論文
        本論文在計(jì)算機(jī)論文欄目,由論文格式網(wǎng)整理,轉(zhuǎn)載請注明來源www.donglienglish.cn,更多論文,請點(diǎn)論文格式范文查看
        上一篇:面向?qū)ο蟮臄?shù)據(jù)建!獢(shù)據(jù)篩選.. 下一篇:基于ICMP模擬網(wǎng)絡(luò)控制軟件的開發(fā)..
        Tags:一個 編譯 原理 語法 分析器 實(shí)現(xiàn) 設(shè)計(jì) 【收藏】 【返回頂部】
        最新文章
        熱門文章
        計(jì)算機(jī)論文
        推薦文章

        本站部分文章來自網(wǎng)絡(luò),如發(fā)現(xiàn)侵犯了您的權(quán)益,請聯(lián)系指出,本站及時確認(rèn)刪除 E-mail:349991040@qq.com

        論文格式網(wǎng)(www.donglienglish.cn--論文格式網(wǎng)拼音首字母組合)提供計(jì)算機(jī)論文畢業(yè)論文格式,論文格式范文,畢業(yè)論文范文

        Copyright@ 2010-2018 LWGSW.com 論文格式網(wǎng) 版權(quán)所有 蜀ICP備09018832號

        感谢您访问我们的网站,您可能还对以下资源感兴趣:

        论文格式网:毕业论文格式范文
        <tfoot id="euasa"><input id="euasa"></input></tfoot>
        <strike id="euasa"><rt id="euasa"></rt></strike>
      • <ul id="euasa"></ul>
        <tfoot id="euasa"></tfoot>