搜索资源列表
1173141756BY
- 编写一个程序,输入一个算符文法,生成其优先矩阵-The preparation of a program, enter an operator grammar, to generate their priority matrix
youxiansuanfu
- 编写一个程序,输入一个算符文法,生成其优先矩阵。-The preparation of a program, enter an operator grammar, to generate their priority matrix.
postfix-notation
- 1、给出文法如下: G[E] E->T|E+T T->F|T*F F->i(E) 对应的转化为逆波兰式的语义动作如下: E-> E(1)op E(2) {E.CODE:= E(1).CODE||E(2).CODE||op} E->(E(1)) { E.CODE := E(1).CODE} E->id { E.CODE := id} 2、利用实验5中