-
used to write a compiler. Operations at the university, to the teachers should n...
一个用pascal写的编译器。大学时的作业,交给老师应该没问题了。-used to write a compiler. Operations at the university, to the teachers should not matter.
- 2023-04-16 21:20:03下载
- 积分:1
-
(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
-
用来测试ESL DSP C COMPILER数学库是否正确的VC程序,测试方法…
用来测试ESL DSP C COMPILER数学函数库是否正确的VC程序,测试方法,在VC下随机产生函数输入值,并把输入与输出值记录到C:MATH文件中。可以直接用于你所测试的COMPILER。-used to test ESL C COMPILER DSP Math Library VC correct procedures, test methods, the VC randomly generated function input, and import and export value recorded C : MATH document. You can be directly used for testing by the COMPILER.
- 2022-02-04 03:39:43下载
- 积分:1
-
test for character recognition sofware
test for character recognition sofware
- 2023-03-30 12:05:04下载
- 积分:1
-
关于c++的词法分析,语法分析,运行成功。对大家希望有帮助...
关于c++的词法分析,语法分析,运行成功。对大家希望有帮助-Accidence analyse and parsing about C++,which run succeed.wish it can help you.
- 2022-07-23 09:40:08下载
- 积分:1
-
teste para poder baixar um aquivo
teste para poder baixar um aquivo
- 2023-01-13 18:00:05下载
- 积分:1
-
自己写的一个编译程序,可以从二进制文件中读取一段c程序,进行表达式的识别和一些简单的c语句,最后生成三元式输出...
自己写的一个编译程序,可以从二进制文件中读取一段c程序,进行表达式的识别和一些简单的c语句,最后生成三元式输出-To write a compiler, you can read from the binary files for some c procedures, identification and expression of c some simple statements, the last generation of ternary output
- 2023-06-12 09:50:03下载
- 积分:1
-
optional exercise4答案,比较详细
optional exercise4答案,比较详细-optional exercise4
- 2022-03-05 08:27:11下载
- 积分:1
-
从源程序文件中读取有效字符和并将其转换成二元组机内表示形式输出。...
从源程序文件中读取有效字符和并将其转换成二元组机内表示形式输出。-Read from source file characters and the effective and converted into binary machine express the form of group output.
- 2023-03-08 04:35:02下载
- 积分:1
-
对C++进行词法和语法分析。
要求:
词法分析部分写出相应的正规集、正规式、NFA、DFA
写出语法分析所采用的方法和完成的语法分析功能...
对C++进行词法和语法分析。
要求:
词法分析部分写出相应的正规集、正规式、NFA、DFA
写出语法分析所采用的方法和完成的语法分析功能
编写出响应的编译程序
写出完整的课程设计报告
-right for C morphology and syntax analysis. Requirements : lexical analysis to write a corresponding set of formal, formal style, NFA, DFA write syntax analysis, the method used to complete the grammar and analysis capabilities to prepare to respond to the compiler to write a complete curriculum design report
- 2023-02-14 19:20:04下载
- 积分:1