[{"title":"( 24 个子文件 76KB ) 类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的if else 和if等,功能比较强大,对于应付编译原理课程设计足足有余。此代码是本人课程设计的心血。","children":[{"title":"compiler","children":[{"title":"grammertmp.c <span style='color:#111;'> 9.59KB </span>","children":null,"spread":false},{"title":"自动生成的项目集.c <span style='color:#111;'> 85.52KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"compiler.exe <span style='color:#111;'> 89.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"grammerHead.c <span style='color:#111;'> 8.06KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"Debug","children":[{"title":"lexer.o <span style='color:#111;'> 23.09KB </span>","children":null,"spread":false},{"title":"parser.o <span style='color:#111;'> 32.49KB </span>","children":null,"spread":false},{"title":"generateItems.o <span style='color:#111;'> 43.37KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"symbol.o <span style='color:#111;'> 8.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"parser.c <span style='color:#111;'> 16.60KB </span>","children":null,"spread":false},{"title":"info.log <span style='color:#111;'> 10.79KB </span>","children":null,"spread":false},{"title":"lexer.c <span style='color:#111;'> 21.50KB </span>","children":null,"spread":false},{"title":"tmp1.c <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"generateItems.c <span style='color:#111;'> 19.67KB </span>","children":null,"spread":false},{"title":"compiler.cbp <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"compiler.layout <span style='color:#111;'> 756B </span>","children":null,"spread":false},{"title":"symbol.c <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"global.h <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"compiler.depend <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"readme.txt <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"test.c <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"本编译器所使用的C语法产生式.c <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"tmp2.c <span style='color:#111;'> 49.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]