lexical analysis & LR1-parser & expression semantic analysis
Run the "yf2.cpp" to analysis the "source2.cpp".
lexical analysis is in cf.h;
the LR(1) table is already in "biao.txt", my program can not make it.Please use the "other/编译工作台by尹涛.rar" to make the table.
(by that, use wenfa.grm to make "LR1分析表.txt" , then use Chrome to open it, then copy it to notepad, then a part of it become just like biao.txt)
the part of read the biao.txt is in readTable.h;
LR1-parser and expression semantic analysis is in yf2.cpp