1. 首页
  2. 编程语言
  3. C
  4. 课程设计二 表达式语法分析程序的构造

课程设计二 表达式语法分析程序的构造

上传者: 2020-10-31 18:04:21上传 CPP文件 2.26KB 热度 6次
#include//E->TC #include//C->+TC/$ $表空串 using namespace std;//T->FD string biao[5][6]={{"CT"," "," ","CT"," "," "},{" ","CT+"," "," ","$","$"},{"DF"," "," ","DF"," "," "}, {" ","$","DF*"," ","$","$"},{"i"," "," ",")E("," "," "}};//D->*F/$ //F->i/(E) i表id //i+i*i (i+i)*i ch
用户评论