#编译器
##解析器:
#####语言:C ++ #####环境:代码:: Blocks / Macbook终端#####输入:* grammar.txt * main.c #####输出:* set.txt * LLtable .txt * tree.txt #####处理:* grammer.txt->语法生成器-> set.txt(第一/后)* set.txt-> LLGenerater-> LLtable.txt * main。 c->简单的Lexier-> mainMap [] * mainMap [] + LLtable.txt-> tree.txt #####分析:*全局数组:
1. string grammerMap[][]
store grammar.txt into this array
2. string firstMap[][]
store basi
评论0
最新资源