中远和中海合并:急啊,谁帮我做作业啊,有关编译的问题啊

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 19:39:30
编译器项目
*扫描程序的设计与实现
1 设计并实现C-Minus语言的扫描程序
2 完成实验报告
3 提交手写报告
4 提交原程序和可以执行程序、例子和运行结果文件的电子版

工作:实现C-Minus语言的扫描器。
1)修改TINY语言的扫描器。
2)报告:模拟(仿)TINY语言和TINY扫描器的相关论述和概念。
3)程序。

实验报告基本格式和要求
实验报告题目
1 实验目的
2 C-Minus语言的词法说明、扫描器输入、输出
3 实验原理(采用的过程)
3.1 记号种类及各记号所代表的串集
3.2 各记号对应的正则表达式、所有记号的正则表达式
3.3 各记号对应的DFA、所有记号的DFA
4 程序的功能和程序说明:模块等
5 输入事例(至少一个少成功和失败的例子)和运行结果
6 总结:得到的经验、遇到的主要问题、改进方案等

Compiler project
* Scanning procedure design and realization
1 designs and realizes the C-Minus language scanning procedure
2 completes the test report
3 submits the hand-written report
4 submits the original procedure and may the executive routine, the example and movement result document E-edition

Work: Realizes the C-Minus language scanner.
1) revises the TINY language the scanner.
2) reported that, The simulation (imitates) the TINY language and the TINY scanner correlation elaboration and the concept.
3) procedure.

Test report basic form and request
Test report topic
1 experimental goal
2 C-Minus language morphology explanation, scanner input, output
3 experimental principles (use process)
3.1 symbols types and various symbols represent string collection
3.2 various symbols correspondence regular expression, all symbols regular expression
3.3 various symbols correspondence DFA, all symbols DFA
4 procedures functions and the procedure showed that, Module and so on
5 inputs instances (at least few successes and defeat examples) and movement result
6 summaries: Obtains the experience, meets main question, improvement program and so on