资源列表
[其它] lxing
说明:编译原理小程序 有点小问题 源程序文件内容如下: main() { int a, b a = 10 b = a + 20 } 要求输出如下: (2,”main”) (5,”(”) (5,”)”) (5,”{“} (1,”int”) (2,”a”) (5,”,”) (2,”b”) (5,” ”) (2,”a”) (4,”=”) (3,10) (5,” ”) (2,”b”) (4,”=”) (2,”a”) (4,”+”) (3,20) (5,” ”) (5,”)”)-Compiler Princ<刘星> 在 2008-10-13 上传 | 大小:1.55kb | 下载:0
[编译器/词法分析] 编译原理实验!文档1
说明:一个小型词法分析器,我编译课的课堂作业!-a small lexical analyzer, I compile a classroom course work!<常凯> 在 2008-10-13 上传 | 大小:22.95kb | 下载:0
[其它] N皇后问题的回溯法,非递归实现
说明: 这是N皇后问题的回溯法,非递归实现.此算法对初学者有难度,最好去参考书.这个问题也是回溯法的经典例题,推荐自己去实践.还有,我贴的程序在TC3.0下调试通过.-This the Queen's retroactive law, non - recursive. This algorithm is difficult for beginners, to the best reference books. This issue is also back classic example of<fzr> 在 2008-10-13 上传 | 大小:4.13kb | 下载:0
[编译器/词法分析] bypl0
说明:按递归下降方式设计其编译程序,生成PL/0栈式指令代码,然后解释执行。用(a=1)+2*(b=3+4*5)/2+2*a*b-(a=a+5)/ (c=2) 测试-dropped by recursive approach to design their own compiler, generating PL / 0 Stack-code instructions, and then the interpretation and implementation. Using (a = 1) 2 * (<赵利君> 在 2008-10-13 上传 | 大小:17.64kb | 下载:0