基于web的在线编译系统

基于web的在线编译系统

基于web的在线编译系统

  • 适用:本科,大专,自考
  • 更新时间2024年
  • 原价: ¥308
  • 活动价: ¥200 (活动截止日期:2024-04-28)
  • (到期后自动恢复原价)
基于web的在线编译系统

基于web的在线编译系统
   摘 要
随着计算机的广泛应用,计算机程序设计语言也从初期的机器语言发展为汇编语言,以及现在的各种高级程序设计语言。而编译技术是计算机语言发展的支柱,也是计算机科学中发展最迅速、最成熟的一个分支,他集中体现了计算机发展的成果与精华。
其核心思想就是把同样的逻辑结构和思想从一种语言表示的程序转换为另外一种语言表示的程序。从高级语言,甚至运行与虚拟平台的高级语言,到机器语言,最终到硬件执行的物理信号,这一层层的转化,都涉及编译技术的应用。
本系统采用WEB为编程语言。论文主要介绍了本课题的开发背景,所要完成的功能和开发的过程。重点的说明了系统设计的重点、设计思想、难点技术和解决方案。

    关键词:编译技术,编程程序,高级语言

language ompiler design and Implementation
Abstrat
With the wide appliation of the omputer, omputer programming languages ​​are developed from the early mahine language into assembly language , and now a variety of high-level programming language. The ompiler tehnology is the bakbone of omputer language development, but also the fastest growing in omputer siene , a branh of the most mature , he epitomizes the essene of the omputer and the fruits of development .
The ore idea is the same logial struture of the program and ideas expressed in the onversion from one language to another language program represented . From the high-level language , and even running with high-level language virtual platform to mahine language , and ultimately to the hardware implementation of the physial signal , the layers of transformation involves appliation of ompiler tehnology .
System uses WEB as the programming language. Paper introdues the development bakground of the topi, the development and funtion to omplete the proess. Note the fous of systems design, design ideas, tehnologies and solutions diffiult.

Key Words: ompiler tehnology,Programming proedures,High-level programming language


  目  录

摘 要 i
Abstrat ii
第一章  绪论 1
1.1  开发背景 1
1.2  开发目标和意义 1
1.2 当前在线编译国内外的发展情况 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
第三章 在线编译可行性分析及总体设计 9
3.1 可行性分析 9
3.1.1 经济可行性 9
3.1.2  技术可行性 9
3.1.3  运行可行性 9
3.1.4  时间可行性 10
3.1.5  法律可行性 10
3.2  WEB的基本描述 10
3.3  在线编译的功能 10
3.4  在线编译的程序结构 11
3.4.1  在线编译的设计模式 11
3.4.2  在线编译的文件组成 12
3.5  在线编译中的主要数据结构 12
第四章  在线编译的实现 14
4.1  词法分析阶段 14
4.1.1  概述 14
4.1.2  词法分析程序的实现 14
4.1.3  关键字与标识符的识别 16
4.1.4  词法识别具体实现 16
4.2  语法分析阶段 18
4.2.1  概述 18
4.2.2  WEB抽象出来的文法规则 19
4.2.3  语法分析程序的实现 22
4.3  语义分析阶段 27
4.3.1  概述 27
4.3.2  WEB的语义 27
4.3.3  的符号表 27
4.3.4  语义分析程序的实现 28
4.4  中间代码生成阶段 33
4.4.1  概述 33
4.5  在线编译的使用方法及测试 33
4.5.1  使用方法 33
4.5.2  测试源文件 34
4.5.3  测试词法分析 34
4.5.4  测试语义分析及中间代码生成 35
4.5.5  测试分析表文件的构造 36
参考文献 38
致谢 39

参考文献
[1] 陈火旺,刘春林.程序设计语言编译原理(第三版).北京:国防工业出版社,2000
[2] 吕映芝,张素琴,蒋维杜.编译原理.北京:清华大学出版社,1998
[3] (美)Kenneth .Louden.编译原理及实践,冯博琴、冯岚译.北京:机械工业出版社,2000
[4] (美)Randy Allen,Ken Kennedy.现代体系结构的优化在线编译,张兆庆等译.北京:机械工业出版社,2004
[5]  (美)Steven S.Muhnik.高级在线编译设计与实现,赵克佳译.北京:机械工业出版社,2005
[6] 金成植.编译原理与实现.北京:高等教育出版社,1989
[7] 胡元义.编译原理教程.西安:西安电子科技大学出版社,2003
[8] 高仲仪,蒋立源.编译技术.台北:儒林图书公司,1992
[9] 胡伦骏,徐兰芳,流建农.编译原理.北京:电子工业出版社,2002
[10]  (美)霍普克罗夫特.自动机理论、语言和计算导引,徐美瑞译.北京:科学出版社,1986
[11] 何炎祥.编译程序构造.武汉:武汉大学出版社,1988
[12]Pyster A.ompiler Design and onstrution.New York:Van Nostrand,1980
[13]Aho A V,Ullman J D.ompilers Priniples,Tehniques,and Tools.Massahusetts:Addison-Wesley,1986
[14]Hunter R.ompilers:Their Design and onstrution Using Pasal.New York:Wiley,1985
[15]Holub A I.ompilers Design in .Englewood liffs,New Jersy:Prentie-Hall,1990
[16]avid A Watt.Programming Language Syntax and Semanties.Prentie Hall,1991

 

http://www.bysj360.com/  http://www.bysj360.com/html/5215.html   http://www.bylw520.net


 

  • 关键词 web 在线 编译
  • 上一篇:学生宿舍电费管理系统
  • 下一篇:基于UML的学生管理信息系统的设计与实现
  • 暂无购买记录

    暂时没有评论

    真实

    多重认证,精挑细选的优质资源 优质老师。

    安全

    诚实交易,诚信为本。

    保密

    所有交易信息,都为您保密。

    专业

    10年专业经验,10年来帮助无数学子。