随笔分类 - 编译原理
虎书每章后的程序。。。
等待完成中。。。
摘要:options { JAVA_UNICODE_ESCAPE = true;}PARSER_BEGIN(MiniJavaParser) public class MiniJavaParser {}PARSER_END(MiniJavaParser)// Insert a specification o...
阅读全文
摘要:Count.javapublic class Count{int resolveStm(Stm stm){int temp1=0,temp2=0;if(stm.kind==1){temp1=resolveStm(((CompoundStm)stm).stm1);temp2=resolveStm(((...
阅读全文


浙公网安备 33010602011771号