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

    當前位置:論文格式網 -> 畢業論文 -> 計算機論文
    畢業論文標題:

    Scheme解釋程序的實現

     本文ID:LWGSW13715 價格:收費積分/100
    掃一掃 掃一掃
    本站會員可自行下載:下載地址 Scheme解釋程序的實現 (收費:1000 積分)  

    論文字數:13528,頁數:29

    摘  要
    Scheme是一種函數式編程語言,是第一個完全支持詞法作用域、第一級過程以及繼續的LISP方言。它語法簡潔但功能強大,而且非常優雅,具有數學的美感,同時蘊含著豐富的數學理論和程序設計技術。Scheme具有極高的開發效率,并且相當容易學習,它能使學習它的人從一開始就將注意力放到編程思想上,而不是停滯在學習繁瑣的語法上。
    在Scheme解釋程序的設計中,充分采用了模塊化的設計思想,首先將解釋程序的整體結構與Scheme的核心內容理清,然后再設計解釋程序的整體架構,并定義好各模塊的結構和相關模塊之間的接口,之后再逐模塊地進行具體的代碼實現工作。
    整個解釋器的核心是一個虛擬的寄存器機器,及其支持的一套基本指令集。該寄存器機器還要基于向量模型來管理內存,并實現垃圾回收機制。Scheme的源代碼將被詞法分析器解析成內部表結構來表示,再傳入操作的解釋模塊中,轉化為僅由基本指令組成的執行過程,在寄存器機器中執行。

    關鍵詞:解釋程序;Scheme;垃圾回收;虛擬的寄存器機器

    Implementation of the Scheme Interpreter
    Abstract
    Scheme, a function programming language, is the first dialect of LISP to fully support lexical scoping, first-class procedures, and continuations. With perfect design it is very simple, but powerful. And many programming technologies and mathematics theories can be found in it. Programming in scheme, the development efficiency can be enhanced enormously. However, it is very easy to master and use scheme, because its syntax could be learned quickly.
    In the scheme interpreter design, the module design concept has been used fully. After the content of scheme and the structure of interpreter are mastered, the scheme interpreter's structure is designed. And then the interfaces between modules are defined. After all of above are done, these modules and interfaces are implemented one by one.
    The core of the scheme interpreter is the Virtual Register Machine with a set of supported basic instructions. In the Virtual Register Machine, the memory is managed through vector model with the garbage collection facility. After analyzed by the lexical analyzer, Scheme source codes are parsed into internal list structures. Then these list structures are converted into the basic instructions by eva luator module. And these instructions are executed through registers in the Virtual Register Machine.

    Key words: Interpreter; Scheme; Garbage Collection; Virtual Register Machine

    目  錄

    1 引言 1
    1.1 課題背景 1
    1.2 研究意義 1
    1.3 研究方法 1
    2 Scheme語言 2
    2.1 發展歷史與現狀 2
    2.2 Scheme語言介紹 2
    2.3 Scheme的特點 3
    3 相關理論基礎 3
    4 解釋程序的整體結構 3
    4.1 詞法分析器 4
    4.2 類型系統 4
    4.3 循環求值器 4
    4.4 虛擬的寄存器機器 5
    4.5 內存管理與垃圾回收 5
    5 解釋程序的實現 6
    5.1 類型系統 6
    5.2 詞法分析 7
    5.3 表達式求值的環境模型 7
    5.3.1 環境模型 7
    5.3.2 環境操作 9
    5.3.3過程應用的環境模型 9
    5.3.4 環境模型的實現 10
    5.4 尾遞歸 11
    5.5 虛擬的寄存器機器 13
    5.5.1 寄存器 14
    5.5.2 存儲模型 15
    5.5.3 基本表操作的實現 16
    5.5.4 停止并復制垃圾回收算法 17
    5.5.5 虛擬的寄存器機器的實現 18
    5.6 表達式求值過程 18
    6 測試結果 19
    6.1 測試尾遞歸 19
    6.2 測試正確性與效率 20
    結    論 21
    參考文獻 22
    致    謝 23
    聲    明 24


    相關論文
    本論文在計算機論文欄目,由論文格式網整理,轉載請注明來源www.donglienglish.cn,更多論文,請點論文格式范文查看
    上一篇:一個Linux下基于電話線路的數據通.. 下一篇:基于C/S的電子郵件簡單收發系統設..
    Tags:Scheme 解釋 程序 實現 【收藏】 【返回頂部】
    最新文章
    熱門文章
    計算機論文
    推薦文章

    本站部分文章來自網絡,如發現侵犯了您的權益,請聯系指出,本站及時確認刪除 E-mail:349991040@qq.com

    論文格式網(www.donglienglish.cn--論文格式網拼音首字母組合)提供計算機論文畢業論文格式,論文格式范文,畢業論文范文

    Copyright@ 2010-2018 LWGSW.com 論文格式網 版權所有 蜀ICP備09018832號

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

    论文格式网:毕业论文格式范文
  • <strike id="4ciqk"></strike>
    • <ul id="4ciqk"><sup id="4ciqk"></sup></ul>
    • <fieldset id="4ciqk"><menu id="4ciqk"></menu></fieldset>