文件名称:wcp

  • 所属分类:
  • 编译器/词法分析
  • 资源属性:
  • [Windows] [程序]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 29kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 小*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

文件中:wcp.exe是我们针对编译实验的文法的一个编译器(不含源码);pi.txt和prime_number.txt是按照实验文法写的测试程序(前者是求pi值,后者是求质数)



注:wcp将编译和执行放在了一起,而且对原实验文法做了以下扩展

1.标识符采用c语言标准的标识符

2.增加了print语句来打印结果(statement:print VarList )



执行方法:在cmd下进入wcp所在目录,如

E:\My Learns\编译原理

然后执行如下

E:\My Learns\编译原理\wcp pi.txt



目的:找bug,good bug finder 可得源码-File: wcp.exe experiment we compile the grammar for a compiler (without source) pi.txt and prime_number.txt experimental grammar written in accordance with test procedures (the former is seeking the value of pi, which is seeking a prime number ) Note: wcp will put together compilation and execution, and the grammar of the original experiments done the following extensions 1. identifiers using c language identifier 2 standard. added print statements to print the results (statement: print VarList) methods of implementation : wcp in cmd into the directory, such as E: \ My Learns \ compiler theory and then do the following E: \ My Learns \ compiler theory \ wcp pi.txt purpose: to find bug, good bug finder available source
(系统自动生成,下载前可以参看下载内容)

下载文件列表

wcp.exe

pi.txt

prime_number.txt

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org