非递归预测分析(李慧).docVIP

  • 11
  • 0
  • 约1.59千字
  • 约 4页
  • 2020-12-29 发布于浙江
  • 举报
#include iostream.h #includeiomanip #include ctype.h #include string using namespace std; int Yy_pushtab[13][4]= { {257,1,258,0}, {256,0}, {0}, {260,259,0}, {0}, {260,259,2,0}, {0}, {262,261,0}, {262,261,3,0}, {0}, {5,258,4,0}, {6,0}, {256,0} }; int Yy_d[8][7]= //LL1分析表 { {-1,0,-1,-1,0,-1,0}, {2,1,-1,-1,1,-1,1}, {-1,4,-1,-1,3,4,3}, {-1,-1,-1,-1,7,-1,7}, {-1,6,5,-1,-1,6,-1}, {-1,-1,-1,-1,10,-1,11}, {-1,9,9,8,-1,9,-1}, {-1,12,-1,-1,12,-1,12}, }; void main() { int i=0,j=0,k=0,p=0,p1=0,q=0,what_to_do,st[20],W[20],top;

文档评论(0)

1亿VIP精品文档

相关文档