Complier

所属分类:编译器/解释器
开发工具:Java
文件大小:20KB
下载次数:51
上传日期:2011-12-29 17:24:42
上 传 者Trista111
说明:  PL/0语言编译器的中间代码生成。要求用递归子程序法/或预测分析法实现对表达式、各种说明语句、控制语句进行语法分析。若语法正确,则用语法制导翻译法进行语义翻译:对说明语句,要求将说明的各符号记录到相应符号表中;对可执行语句,应产生出四元式中间代码并填写到三地址码表中; 若语法错误,要求指出出错性质和出错位置(行号)。出错处理应设计成一个出错处理子程序。
(The PL/0 language compiler intermediate code generation. Require the use of recursive subroutine/or forecast and analysis method of expression, statement, control the syntax analysis. If the grammar is correct, then use the grammar-translation method guidance for semantic translation: on the statement, will illustrate the various symbols are recorded onto a corresponding symbol table to executable statements, should produce four yuan intermediate code and fill to the three address code if the grammar mistakes, asked to point out that the error and error location ( nature line number ). Error handling should be designed into an error handling routine.)

文件列表:
Complier\.classpath (232, 2011-10-19)
Complier\.project (384, 2011-11-22)
Complier\bin\Ancestor.class (697, 2011-12-26)
Complier\bin\Compiler$TYPE.class (2512, 2011-12-26)
Complier\bin\Compiler.class (16869, 2011-12-26)
Complier\bin\Constant.class (983, 2011-12-26)
Complier\bin\MidCode$OPERATION.class (1274, 2011-12-26)
Complier\bin\MidCode.class (1869, 2011-12-26)
Complier\bin\Variant.class (1373, 2011-12-26)
Complier\src\Ancestor.java (348, 2011-11-23)
Complier\src\Compiler.java (21093, 2011-12-26)
Complier\src\Constant.java (332, 2011-11-23)
Complier\src\MidCode.java (1052, 2011-11-29)
Complier\src\Variant.java (602, 2011-11-23)
Complier\bin (0, 2011-12-26)
Complier\src (0, 2011-12-26)
Complier (0, 2011-12-26)

近期下载者

相关文件


收藏者