搜索资源列表
op
- This a jav code to implement operator precedence.-This is a jav code to implement operator precedence.
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中的算符优先分析算法,结合上面给出的语义动作实现逆波兰式的构造
op
- 有关自动机和不确定自动机的转换编程,NFA(The transformation of the formal grammar to the uncertain automata, the content of the lexical analyzer)