文件名称:complier
介绍说明--下载内容均来自于网络,请自行研究使用
北航编译课程大作业,包含源代码,测试程序以及文档。对PL/0编译器作以下修改扩充:
(1)增加单词:保留字 ELSE,FOR,TO,DOWNTO,RETURN
运算符 +=,-=,++,――
其中FOR,TO,DOWNTO,RETURN属于选做内容。
(2)修改单词:不等号# 改为 <>
(3)增加条件语句的ELSE子句
-Northern compile operations courses, including source code, test procedures, and documentation. For PL/0 compiler expansion following modifications: (1) add a word: reserved word ELSE, FOR, TO, DOWNTO, RETURN operator+ =,- =,++,- in which the FOR, TO, DOWNTO, RETURN belong election do content. (2) modify the word: inequality# to < > (3) increase the conditional statement ELSE clause
(1)增加单词:保留字 ELSE,FOR,TO,DOWNTO,RETURN
运算符 +=,-=,++,――
其中FOR,TO,DOWNTO,RETURN属于选做内容。
(2)修改单词:不等号# 改为 <>
(3)增加条件语句的ELSE子句
-Northern compile operations courses, including source code, test procedures, and documentation. For PL/0 compiler expansion following modifications: (1) add a word: reserved word ELSE, FOR, TO, DOWNTO, RETURN operator+ =,- =,++,- in which the FOR, TO, DOWNTO, RETURN belong election do content. (2) modify the word: inequality# to < > (3) increase the conditional statement ELSE clause
(系统自动生成,下载前可以参看下载内容)
下载文件列表
北航编译大作业扩充pl0文法(中级难度)\编译原理\测试数据\E01.COD
.....................................\........\........\ELSE.COD
.....................................\........\........\else.pl0
.....................................\........\........\else2.COD
.....................................\........\........\else2.pl0
.....................................\........\........\ELSE3.COD
.....................................\........\........\ELSE3.pl0
.....................................\........\........\FOR.COD
.....................................\........\........\for.pl0
.....................................\........\........\FOR2.COD
.....................................\........\........\for2.pl0
.....................................\........\........\NEQ.COD
.....................................\........\........\NEQ.pl0
.....................................\........\........\PL01.exe
.....................................\........\........\REPEAT.COD
.....................................\........\........\repeat.pl0
.....................................\........\........\REPEAT2.COD
.....................................\........\........\repeat2.pl0
.....................................\........\........\test.COD
.....................................\........\........\TEST.PL0
.....................................\........\........\YUNSUANFU.COD
.....................................\........\........\yunsuanfu.pl0
.....................................\........\........\YUNSUANFU2.COD
.....................................\........\........\yunsuanfu2.pl0
.....................................\........\........\yusuanfu.COD
.....................................\........\源程序\pl0-mycompiler.cpp
.....................................\........\......\PL01.bpr
.....................................\........\......\PL01.cpp
.....................................\........\......\PL01.exe
.....................................\........\......\PL01.obj
.....................................\........\......\PL01.res
.....................................\........\......\PL01.tds
.....................................\........\......\Unit1.cpp
.....................................\........\......\Unit1.dfm
.....................................\........\......\Unit1.h
.....................................\........\......\Unit1.obj
.....................................\........\......\语义分析.cpp
.....................................\........\编译原理试验报告.doc
.....................................\........\测试数据
.....................................\........\源程序
.....................................\编译原理
北航编译大作业扩充pl0文法(中级难度)