北航编译原理课程设计PL0文法与测试用例

北航编译原理课程设计PL0文法与测试用例

本资源包含北航编译原理课程设计PL0文法的实现代码和测试用例,为学生提供课程学习参考。

PL0文法代码

本代码根据课程要求对参考模板进行了修改,并添加了详细注释,适用于北航学生的课程学习和参考。

测试用例

提供的测试用例均来自同学共享,可通过简单修改验证测试结果,供学生学习参考。

适用环境

该代码已在VC++6.0和Visual Studio 2012环境下成功编译运行。

rar
pl0 D.rar 预估大小:72个文件
folder
test 文件夹
file
t1.txt 88B
file
22.txt 287B
file
12 5.txt 177B
file
const.txt 56B
file
call3.txt 265B
file
9.txt 31B
file
00.txt 56B
file
t2.txt 179B
folder
fa2.txt 文件夹
file
简单的多项式求和.txt 913B
file
3.txt 632B
file
3_e.txt 632B
file
2_e.txt 312B
file
call.txt 223B
file
简单赋值.txt 70B
file
t3.txt 385B
file
1_e.txt 187B
file
ass.txt 52B
file
Fib.txt 332B
file
t5.txt 202B
file
12.txt 83B
file
实例1.txt 536B
file
t3_e.txt 409B
file
10.txt 45B
file
7.txt 124B
file
2.txt 333B
file
call_error.txt 272B
file
while2.txt 247B
file
odd.txt 92B
file
t2_e.txt 213B
file
简单用例.txt 106B
file
实例2.txt 440B
file
说明.txt 349B
file
4.txt 61B
file
阶乘.txt 1KB
file
0.txt 303B
file
error1.txt 351B
file
while.txt 185B
file
t5_e.txt 200B
file
E01.txt 184B
file
123.txt 647B
file
call2.txt 182B
file
过程_e.txt 345B
file
asd.txt 529B
file
未赋值.txt 131B
file
5.txt 38B
file
1.txt 185B
file
as.txt 216B
file
除0.txt 38B
file
t4.txt 177B
file
5_e.txt 31B
file
8.txt 116B
file
error2.txt 553B
file
t4_e.txt 187B
file
过程调用(向下).txt 328B
file
4_e.txt 83B
file
简单输入输出.txt 119B
file
if.txt 69B
file
t1_e.txt 100B
folder
1006 文件夹
folder
测试程序 文件夹
file
3.txt 629B
file
3_e.txt 632B
file
2_e.txt 312B
file
1_e.txt 187B
file
2.txt 332B
file
4.txt 61B
file
5.txt 38B
file
1.txt 183B
file
5_e.txt 31B
file
4_e.txt 83B
file
pl0.cpp 33KB
file
pl0.h 5KB
file
PL0 低.txt 1KB
...
rar 文件大小:25.49KB