算符优先文法分析器(2)
发布时间:2021-06-07
发布时间:2021-06-07
youxian[0][2]='<';
youxian[0][3]='<';
youxian[0][4]='<';
youxian[0][5]='>';
youxian[0][6]='>';
//______________________________________________________________
youxian[1][0]='>';
youxian[1][1]='>';
youxian[1][2]='<';
youxian[1][3]='<';
youxian[1][4]='<';
youxian[1][5]='>';
youxian[1][6]='>';
//_______________________________________________________________
youxian[2][0]='>';
youxian[2][1]='>';
youxian[2][2]='<';
youxian[2][3]='<';
youxian[2][4]='<';
youxian[2][5]='>';
youxian[2][6]='>';
//_______________________________________________________________
youxian[3][0]='>';
youxian[3][1]='>';
youxian[3][2]='>';
youxian[3][3]='$';//无优先关系的用$表示
youxian[3][4]='$';
youxian[3][5]='>';
youxian[3][6]='>';
//_________________________________________________________________ youxian[4][0]='<';
youxian[4][1]='<';
youxian[4][2]='<';
youxian[4][3]='<';
youxian[4][4]='<';
youxian[4][5]='=';
youxian[4][6]='$';
//_________________________________________________________________ youxian[5][0]='>';
youxian[5][1]='>';
youxian[5][2]='>';
youxian[5][3]='$';
youxian[5][4]='$';