- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
源程序代码等全套设计联系QQ 174320523 各专业都有
分类号:TP314 U D C:D10621-408-(2007)5779-0
密 级:公开 编 号:2003032104
成都信息工程学院
学位论文
Scheme解释程序的实现
论文作者姓名: 贺鹏飞 申请学位专业: 网络工程 申请学位类别: 工学学士 指导教师姓名(职称): 韩斌(副教授) 论文提交日期: 2007年06月09日
Scheme解释程序的实现
摘 要
Scheme是一种函数式编程语言,是第一个完全支持词法作用域、第一级过程以及继续的LISP方言。它语法简洁但功能强大,而且非常优雅,具有数学的美感
关键词:解释程序;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 interpreters 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 evaluator module. And these instructions are executed through registers in the Virtual Register Machine.
Key words: Interpreter; Scheme; Garbage Collection; Virtual Register Machine
目 录
论文总页数:24页
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 内
您可能关注的文档
- “辅导员之家”网站设计与开发(有源程序代码).doc
- “欢乐时光”病毒检测工具的实现(有源程序代码).doc
- 《计算机专业英语》网上教学系统设计与实现(有源程序代码).doc
- 《数据库原理及应用技术》课程指导平台的开发(有源程序代码).doc
- 《信息论与编码》在线考试系统(有源程序代码).doc
- 3G的AKA协议中F1至F5的UE端的实现(有源程序代码).doc
- 3G的AKA协议中F1至F5的服务网络端实现(有源程序代码).doc
- BBS系统开发与帐户安全保护的实现(有源程序代码).doc
- BS结构的城市酒店入住信息管理系统的设计(有源程序代码).doc
- BS结构下的OA流程可视化的研究与实现(有源程序代码).doc
- Smart系统-公共资源模块的设计与开发(有源程序代码).doc
- Smart系统-考试管理及成绩查询模块的设计与开发(有源程序代码).doc
- SMART系统-考试监控及阅卷模块的设计与开发(有源程序代码).doc
- Smart系统-题库及试卷管理模块的设计与开发(有源程序代码).doc
- SMART系统-系统功能管理模块设计与开发(有源程序代码).doc
- SMART系统-系统框架设计与开发(有源程序代码).doc
- WebMai 收发系统设计与开发(有源程序代码).doc
- Win32平台下的PE文件病毒的研究及实现(有源程序代码).doc
- Windows简单防火墙设计与实现(有源程序代码).doc
- Windows系统辅助管理程序设计与开发(有源程序代码).doc
文档评论(0)