(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自动生成工具,windows下有Flex,bison,Linux下有Lex,Yacc,Java的有Jlex,JavaCC,ANTLR等 (3) 不用考虑Pascal和C的关键词不同问题,即Pascal子集语言中假设不出现int,for等作为变量标志符 (4) read()和write()可用由scanf(),printf()等组成的语句转换。 (5) 如果有疑问可以发信给我 xpqiu@fudan.edu.cn.
上传时间: 2015-11-20
上传用户:talenthn
简单的C语言编译器,含词法和语法文件,需要flex,bison和C++软件
上传时间: 2014-03-05
上传用户:lepoke
C语言表达式语法分析器,含词法和语法文件,需要flex,bison软件
上传时间: 2013-12-29
上传用户:zhaiyanzhong
aisee 用于查看vcg文件,如bison -g 生成的vcg文件
上传时间: 2013-12-20
上传用户:nanshan
CForms, by Lars Berntzon (Stockholm, Sweden), is a tool for building interactive forms-driven applications. CForms applications can run on nany type of library supported by the "curses" library. CForms uses a language-based design to define forms. An application may contain C source modules, field pictures, field definitions, literals, and events. CForms applications must be compiled with the CFC compiler and linked with the CFL linker.CForms runs on most Unix SYSV compatible platforms including SunOS, Dell-SVR4, and Diab SYSV.3. It requires a curses library and yacc or GNU bison. CForms version 2.1 is now available as volume #402 in the CUG Library.
标签: forms-driven interactive Stockholm Berntzon
上传时间: 2013-12-20
上传用户:himbly
一段修改C语言的代码,把C语言中的浮点型变成两个整形表示,在linux平台下用flex和bison实现
上传时间: 2014-01-11
上传用户:JIUSHICHEN
不需要做任何修改的lex-yacc的demo,可以在parser generator或lex-bison下成功运行
上传时间: 2016-10-09
上传用户:cccole0605
编译原理实验中的实验指导书,详细介绍了实验环境设置等,和详细源码编译原理实验中的工具bison,可以再windows或者DOS下使用
上传时间: 2014-01-11
上传用户:gmh1314