-
(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C...
(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.
- 2022-03-23 02:20:36下载
- 积分:1
-
linked list that wrote in visual C
linked list that wrote in visual C-linked list that wrote in visual C++
- 2022-02-02 10:08:13下载
- 积分:1
-
编译原理
编译原理-文法等价转换-compiler theory- grammar Conversion
- 2022-01-31 01:05:59下载
- 积分:1
-
Arranges with c can recognize some reserved words, indicates Fu
Hezheng real num...
用c编的能认一些保留字,表示符和正实数的词法分析器- Arranges with c can recognize some reserved words, indicates Fu
Hezheng real number morphology analyzer
- 2023-06-07 13:15:04下载
- 积分:1
-
我用java写的词法分析器,语法分析器正在做,到时候我传上来共享...
我用java写的词法分析器,语法分析器正在做,到时候我传上来共享- I use the morphology analyzer which java writes, the grammar
analyzer to do, when the time comes I pass on share
- 2022-01-26 03:26:44下载
- 积分:1
-
这是关于小Python的实现
this is about tiny python implementation
- 2022-06-02 23:04:16下载
- 积分:1
-
正则式到有穷自动机 最近刚学了编译原理 搞出来得这个东西
正则式到有穷自动机 最近刚学了编译原理 搞出来得这个东西-to DFA has recently compiled a study of the principles of producing more things
- 2022-08-06 10:20:40下载
- 积分:1
-
GCC and the PROGMEM Attribute.pdf, 介绍 GCC 编译器
GCC and the PROGMEM Attribute.pdf, 介绍 GCC 编译器- GCC and the PROGMEM Attribute.pdf , introduce gcc。
- 2023-03-16 02:30:02下载
- 积分:1
-
a C language compiler source code, written in the Eastern foreigners, generating...
一个C语言编译器源代码,外国人写的东东,生成目标代码时需要有masm配合。-a C language compiler source code, written in the Eastern foreigners, generating object code when it can meet the need.
- 2023-03-13 21:30:04下载
- 积分:1
-
一个类C词法分析程序
一个类C词法分析程序-a Class C lexical analysis procedure
- 2022-03-07 00:43:54下载
- 积分:1