上传者: fstyle | 上传时间:2023/10/14 14:05:30 | 文件大小:76KB | 文件类型:rar

类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。
自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的ifelse和if等,功能比较强大,对于应付编译原理课程设计足足有余。
此代码是本人课程设计的心血。

文件下载

资源详情

[{"title":"(24个子文件76KB)类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的ifelse和if等,功能比较强大,对于应付编译原理课程设计足足有余。此代码是本人课程设计的心血。","children":[{"title":"compiler","children":[{"title":"grammertmp.c <span style='color:#111;'>9.59KB</span>","children":null,"spread":false},{"title":"自动生成的项目集.c <span style='color:#111;'>85.52KB</span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'>775B</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"compiler.exe <span style='color:#111;'>89.56KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"grammerHead.c <span style='color:#111;'>8.06KB</span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"lexer.o <span style='color:#111;'>23.09KB</span>","children":null,"spread":false},{"title":"parser.o <span style='color:#111;'>32.49KB</span>","children":null,"spread":false},{"title":"generateItems.o <span style='color:#111;'>43.37KB</span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'>8.10KB</span>","children":null,"spread":false},{"title":"symbol.o <span style='color:#111;'>8.13KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"parser.c <span style='color:#111;'>16.60KB</span>","children":null,"spread":false},{"title":"info.log <span style='color:#111;'>10.79KB</span>","children":null,"spread":false},{"title":"lexer.c <span style='color:#111;'>21.50KB</span>","children":null,"spread":false},{"title":"tmp1.c <span style='color:#111;'>5.18KB</span>","children":null,"spread":false},{"title":"generateItems.c <span style='color:#111;'>19.67KB</span>","children":null,"spread":false},{"title":"compiler.cbp <span style='color:#111;'>1.34KB</span>","children":null,"spread":false},{"title":"compiler.layout <span style='color:#111;'>756B</span>","children":null,"spread":false},{"title":"symbol.c <span style='color:#111;'>952B</span>","children":null,"spread":false},{"title":"global.h <span style='color:#111;'>3.83KB</span>","children":null,"spread":false},{"title":"compiler.depend <span style='color:#111;'>3.53KB</span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'>120B</span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'>1.47KB</span>","children":null,"spread":false},{"title":"本编译器所使用的C语法产生式.c <span style='color:#111;'>5.21KB</span>","children":null,"spread":false},{"title":"tmp2.c <span style='color:#111;'>49.05KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • EdwardDrew:
    看不懂,很乱2016-06-05
  • wk1266:
    还不错,可以参考2015-06-14
  • fulicier:
    功能齐全,就是没注释2015-05-16
  • imzhyp:
    不错,当时做毕业论文有参考到。2014-11-13
  • 「已注销」:
    感谢分享。不过代码有点乱,希望多点注释2014-05-13

免责申明

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