编译原理上机实习(小子集的实现)

上传者: xyy617 | 上传时间: 2019-12-23 03:38:23 | 文件大小: 1.53MB | 文件类型: rar
编译原理上机实习源代码。   题目:C语言小子集编译程序的实现   3、实现功能:    (1)词法分析     扫描源程序,根据词法规则,识别单词,填写相应的符号表。    (2)语法分析     对由源程序作语法分析,确定是否属于C语言小子集,同时揭示出程序的内在结构。    (3)语法错误检查     根据C语言小子集的文法规则设置检测手段,通过查错子程序或一些查错语句,报告源程序出错位置、性质等,直至整个程序结束为止。    (4)语义分析与目标代码生成     在语法分析的基础上,进行语义分析,生成输入源程序的目标代码。输入源程序的目标代码可以建立在一个假想的处理机(虚拟机)上,也可以以所学的汇编语言为基础。

文件下载

资源详情

[{"title":"( 33 个子文件 1.53MB ) 编译原理上机实习(小子集的实现)","children":[{"title":"(编译原理上机实习)","children":[{"title":"计软100203徐媛媛(编译原理).doc <span style='color:#111;'> 285.50KB </span>","children":null,"spread":false},{"title":"xyy","children":[{"title":"词法分析","children":[{"title":"stdafx.cpp <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"j.txt <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 187B </span>","children":null,"spread":false},{"title":"cifafenxi.plg <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"cifafenxi.cpp <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"cifafenxi.dsw <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"cifafenxi.dsp <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"cifafenxi.ncb <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"cifafenxi.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"cifafenxi.pdb <span style='color:#111;'> 1.16MB </span>","children":null,"spread":false},{"title":"cifafenxi.ilk <span style='color:#111;'> 837.74KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 81.00KB </span>","children":null,"spread":false},{"title":"cifafenxi.obj <span style='color:#111;'> 391.25KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 132.00KB </span>","children":null,"spread":false},{"title":"cifafenxi.exe <span style='color:#111;'> 588.08KB </span>","children":null,"spread":false},{"title":"cifafenxi.pch <span style='color:#111;'> 2.87MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"语法分析","children":[{"title":"j.txt <span style='color:#111;'> 130B </span>","children":null,"spread":false},{"title":"yufafenxi.dsp <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"yufafenxi.plg <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"yufafenxi.ncb <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"output.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"j1.txt <span style='color:#111;'> 286B </span>","children":null,"spread":false},{"title":"yufafenxi.CPP <span style='color:#111;'> 10.61KB </span>","children":null,"spread":false},{"title":"yufafenxi.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"yufafenxi.ilk <span style='color:#111;'> 285.27KB </span>","children":null,"spread":false},{"title":"yufafenxi.pch <span style='color:#111;'> 286.33KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 49.00KB </span>","children":null,"spread":false},{"title":"yufafenxi.exe <span style='color:#111;'> 236.08KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 60.00KB </span>","children":null,"spread":false},{"title":"yufafenxi.obj <span style='color:#111;'> 48.60KB </span>","children":null,"spread":false},{"title":"yufafenxi.pdb <span style='color:#111;'> 481.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"yufafenxi.dsw <span style='color:#111;'> 543B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • qq_38376742 :
    忘了是什么结构的
    2018-12-29
  • qq_41937080 :
    写得挺详细的。
    2018-12-18
  • TheEastWind :
    挺不错的。
    2018-05-09
  • qq_23364257 :
    写得挺详细的。
    2015-01-23
  • lubambi :
    挺完整的 可以实现想要的功能!很好!
    2015-01-09

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明