C语言子集编译器前端(C++)

上传者: 53191711 | 上传时间: 2022-07-08 16:01:53 | 文件大小: 12.07MB | 文件类型: ZIP
实现了一个C语言简单子集的编译器点段部分 可以将文法定义的合法的源代码转化为四元式 实现了词法分析、语法分析、语义分析部分 进行文件的输入输出,从文件读取文法、源代码、将四元式输出到文件

文件下载

资源详情

[{"title":"( 77 个子文件 12.07MB ) C语言子集编译器前端(C++)","children":[{"title":"lexer.h <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"Token.cpp <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"SLR.h <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"Parser.cpp <span style='color:#111;'> 22.70KB </span>","children":null,"spread":false},{"title":"lexer.cpp <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"Token.h <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"lex.cpp <span style='color:#111;'> 27.06KB </span>","children":null,"spread":false},{"title":"lexer.vcxproj.filters <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"tools.cpp <span style='color:#111;'> 8.70KB </span>","children":null,"spread":false},{"title":"lexer.sln <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"tools.h <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"parser.h <span style='color:#111;'> 678B </span>","children":null,"spread":false},{"title":"SLR.cpp <span style='color:#111;'> 8.51KB </span>","children":null,"spread":false},{"title":"lexer.vcxproj <span style='color:#111;'> 7.42KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 6.43KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"lex.obj.enc <span style='color:#111;'> 778.97KB </span>","children":null,"spread":false},{"title":"WFdata","children":[{"title":"productionsId.txt <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"Grammar.txt <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"First.txt <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"Follow.txt <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"Complier.ilk <span style='color:#111;'> 5.01MB </span>","children":null,"spread":false},{"title":"lexer.log <span style='color:#111;'> 619B </span>","children":null,"spread":false},{"title":"lexer.pdb <span style='color:#111;'> 30.31MB </span>","children":null,"spread":false},{"title":"Parser.obj <span style='color:#111;'> 2.42MB </span>","children":null,"spread":false},{"title":"lexer.exe.recipe <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"Token.obj <span style='color:#111;'> 246.45KB </span>","children":null,"spread":false},{"title":"sourceCode","children":[{"title":"sourceCode1.txt <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"sourceCode5.txt <span style='color:#111;'> 52B </span>","children":null,"spread":false},{"title":"sourceCode3.txt <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"sourceCode2.txt <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"sourceCode0.txt <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"sourceCode4.txt <span style='color:#111;'> 198B </span>","children":null,"spread":false}],"spread":false},{"title":"vc142.pdb <span style='color:#111;'> 2.03MB </span>","children":null,"spread":false},{"title":"Token3.txt <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"lexer.ilk <span style='color:#111;'> 4.67MB </span>","children":null,"spread":false},{"title":"Complier.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 107.28KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"Complier.lastbuildstate <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 508B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"main.obj <span style='color:#111;'> 2.41MB </span>","children":null,"spread":false},{"title":"1.obj <span style='color:#111;'> 42.30KB </span>","children":null,"spread":false},{"title":"Complier.exe.recipe <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"tools.obj <span style='color:#111;'> 1.84MB </span>","children":null,"spread":false},{"title":"lexer.vcxproj.FileListAbsolute.txt <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"out","children":[{"title":"Token2.txt <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"formula4.txt <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"formula1.txt <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"Token3.txt <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Token4.txt <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"Token5.txt <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"formula5.txt <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"Token0.txt <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"Token1.txt <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"formula3.txt <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"formula2.txt <span style='color:#111;'> 418B </span>","children":null,"spread":false},{"title":"formula0.txt <span style='color:#111;'> 202B </span>","children":null,"spread":false}],"spread":false},{"title":"tools.obj.enc <span style='color:#111;'> 2.06MB </span>","children":null,"spread":false},{"title":"vc142.idb <span style='color:#111;'> 331.00KB </span>","children":null,"spread":false},{"title":"lexer.obj <span style='color:#111;'> 738.68KB </span>","children":null,"spread":false},{"title":"SLR","children":[{"title":"SLRtable.txt <span style='color:#111;'> 28.54KB </span>","children":null,"spread":false},{"title":"SLRstates.txt <span style='color:#111;'> 44.99KB </span>","children":null,"spread":false}],"spread":false},{"title":"Complier.exe <span style='color:#111;'> 732.00KB </span>","children":null,"spread":false},{"title":"Complier.pdb <span style='color:#111;'> 9.80MB </span>","children":null,"spread":false},{"title":"SLR.obj <span style='color:#111;'> 2.44MB </span>","children":null,"spread":false},{"title":"lex.obj <span style='color:#111;'> 2.73MB </span>","children":null,"spread":false},{"title":"lexer.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 237.67KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 9.67KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 978B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 7.31KB </span>","children":null,"spread":false},{"title":"lexer.lastbuildstate <span style='color:#111;'> 145B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".gitattributes <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"lexer.vcxproj.user <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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