- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
C语言编译器设计与实现
摘 要
随着计算机的广泛应用,计算机程序设计语言也从初期的机器语言发展为汇编语言,以及现在的各种高级程序设计语言。而编译技术是计算机语言发展的支柱,也是计算机科学中发展最迅速、最成熟的一个分支,他集中体现了计算机发展的成果与精华。
其核心思想就是把同样的逻辑结构和思想从一种语言表示的程序转换为另外一种语言表示的程序。从高级语言,甚至运行与虚拟平台的高级语言,到机器语言,最终到硬件执行的物理信号,这一层层的转化,都涉及编译技术的应用。
本系统采用++为编程语言。论文主要介绍了本课题的开发背景,所要完成的功能和开发的过程。重点的说明了系统设计的重点、设计思想、难点技术和解决方案。
C language compiler design and Implementation
Abstract
With the wide application of the computer, computer programming languages ??are developed from the early machine language into assembly language , and now a variety of high-level programming language. The compiler technology is the backbone of computer language development, but also the fastest growing in computer science , a branch of the most mature , he epitomizes the essence of the computer and the fruits of development .
The core idea is the same logical structure of the program and ideas expressed in the conversion from one language to another language program represented . From the high-level language , and even running with high-level language virtual platform to machine language , and ultimately to the hardware implementation of the physical signal , the layers of transformation involves application of compiler technology .
System uses C++ as the programming language. Paper introduces the development background of the topic, the development and function to complete the process. Note the focus of systems design, design ideas, technologies and solutions difficult.
Key Words: Compiler technology,Programming procedures,High-level programming language
目 录
摘 要 i
Abstract ii
第一章 绪论 1
1.1 开发背景 1
意义 1
情况 2
4
2.1 编译系统概述 4
2.1.1 什么是编译器 4
2.1.2 编译器的产生 4
2.2 编译器的结构 4
2.3 编译器的组织 6
2.3.1 编译的分遍 6
2.3.2 分遍的设计 6
2.4 编译器中的主要数据结构 7
2.5 编译程序的开发 7
2.5.1 历史与发展 7
2.5.2 开发注意事项 7
2.5.3 编译技术和软件工具 7
第三章 C编译器可行性分析及总体设计 9
9
3.1.1 经济可行性 9
3.1.2 技术可行性 9
3.1.3 运行可行性 9
3.1.4 时间可行性 10
3.1.5 法律可行性 10
3.2 C语言的基本描述 10
3.3 C编译器的功能 10
3.4 C编译器的程序结构 11
3.4.1 C编译器的设计模式 11
3.4.2 C编译器的文件组成 12
3.5 C编译器中的主要数据结构 12
第四章 C编
文档评论(0)