编译原理C++实现判断LL(1)文法

qilaoshuzhuifeiji
- 粉丝: 0
- 资源: 2
内容简介:#include "LL1.h"void main(void){ char todo,ch; Init(); InputVn(); InputVt(); InputP(); getchar(); FirstFollow(); printf("所得 first 集为:"); ShowCollect(first); printf("所得 follow 集为:"); ShowCollect(follow); CreateAT(); ShowAT(); todo = 'y'; while('y' == todo) { printf("\n 是否继续进行句型分析? (y /n):"); todo ...