CMM编译器(用C#写的一个c语言子集的解释器)

上传者: mimac | 上传时间: 2019-12-21 20:19:28 | 文件大小: 953KB | 文件类型: rar
这是我在大三的时候解释器实践的课程设计,是用C#开发的,包括词法分析、语法分析和编译执行阶段,文档比较齐全,可供初步学习解释器的同学看看,但不鼓励直接拿来当作业用,起码也得自己看看源码,分析分析下,对自己也好

文件下载

资源详情

[{"title":"( 58 个子文件 953KB ) CMM编译器(用C#写的一个c语言子集的解释器)","children":[{"title":"CMM编译器","children":[{"title":"测试代码","children":[{"title":"0003.cmm <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"0006.cmm <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"0005.cmm <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"0002.cmm <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"0004.cmm <span style='color:#111;'> 65B </span>","children":null,"spread":false},{"title":"0001.cmm <span style='color:#111;'> 59B </span>","children":null,"spread":false}],"spread":true},{"title":"CMM解释器报告文档.pdf <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"CMMCompiler","children":[{"title":"_UpgradeReport_Files","children":[{"title":"UpgradeReport.xslt <span style='color:#111;'> 12.21KB </span>","children":null,"spread":false},{"title":"UpgradeReport_Plus.gif <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"UpgradeReport.css <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"UpgradeReport_Minus.gif <span style='color:#111;'> 69B </span>","children":null,"spread":false}],"spread":true},{"title":"CMMCompiler.suo <span style='color:#111;'> 88.00KB </span>","children":null,"spread":false},{"title":"CMMCompiler","children":[{"title":"AccessTable.cs <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"LexicalAnalysis.cs <span style='color:#111;'> 22.15KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"CMMCompiler.exe <span style='color:#111;'> 92.00KB </span>","children":null,"spread":false},{"title":"CMMCompiler.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"CMMCompiler.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false},{"title":"CMMCompiler.pdb <span style='color:#111;'> 147.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":[{"title":"CMMCompiler.exe <span style='color:#111;'> 87.50KB </span>","children":null,"spread":false},{"title":"CMMCompiler.pdb <span style='color:#111;'> 141.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"CMMCompiler.csproj.FileListAbsolute.txt <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"CMMCompiler.exe <span style='color:#111;'> 92.00KB </span>","children":null,"spread":false},{"title":"CMMCompiler.csproj.GenerateResource.Cache <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"CMMCompiler.csproj.FileListAbsolute.txt <span style='color:#111;'> 995B </span>","children":null,"spread":false},{"title":"CMMCompiler.MainForm.resources <span style='color:#111;'> 13.54KB </span>","children":null,"spread":false},{"title":"CMMCompiler.Properties.Resources.resources <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"CMMCompiler.pdb <span style='color:#111;'> 147.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"Release","children":[{"title":"CMMCompiler.exe <span style='color:#111;'> 87.50KB </span>","children":null,"spread":false},{"title":"CMMCompiler.csproj.GenerateResource.Cache <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"CMMCompiler.csproj.FileListAbsolute.txt <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"CMMCompiler.MainForm.resources <span style='color:#111;'> 13.54KB </span>","children":null,"spread":false},{"title":"CMMCompiler.Properties.Resources.resources <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"CMMCompiler.pdb <span style='color:#111;'> 141.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"Resources","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 4.43KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 11.14KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"SyntaxAnalysis.cs <span style='color:#111;'> 15.23KB </span>","children":null,"spread":false},{"title":"CMMCompiler.csproj <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"Logo.ico <span style='color:#111;'> 12.98KB </span>","children":null,"spread":false},{"title":"Tables.cs <span style='color:#111;'> 11.28KB </span>","children":null,"spread":false},{"title":"Analysis.cs <span style='color:#111;'> 38.44KB </span>","children":null,"spread":false},{"title":"MainForm.resx <span style='color:#111;'> 26.18KB </span>","children":null,"spread":false},{"title":"MainForm.cs <span style='color:#111;'> 15.76KB </span>","children":null,"spread":false},{"title":"Form3.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"ClassDiagram1.cd <span style='color:#111;'> 1B </span>","children":null,"spread":false},{"title":"MainForm.Designer.cs <span style='color:#111;'> 22.90KB </span>","children":null,"spread":false},{"title":"Interpret.cs <span style='color:#111;'> 15.81KB </span>","children":null,"spread":false},{"title":"MidCode.cs <span style='color:#111;'> 22.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"UpgradeLog2.XML <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"UpgradeLog.XML <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"CMMCompiler.sln <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true},{"title":"readme.txt <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"CMM解释器3.0.exe <span style='color:#111;'> 87.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • sevenluna :
    还不错的编译器,可以借鉴
    2014-06-30
  • colourdog :
    功能实现比较全面,适合初学者。
    2014-04-07
  • 又是秋风起 :
    还可以,可以作为参考,进行改进
    2014-01-05
  • h1098765432 :
    挺好用,很值得参考
    2014-01-04
  • Pradator :
    很好很全面
    2013-12-31

免责申明

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