正在加载图片...
Postfix Notation If E is a variable or constant,then the postfix notation for E is E itself. If E is an expression of the form E,op E2,where op is any binary operator,then the postfix notation for E is E'E'2 op,where E'and E'2 are the postfix notations for E and E2,respectively. If E is a parenthesized expression of the form (E)),then the postfix notation for E is the same as the postfix notation for E, ·X=Y==Z+U*V?Y:0 CS308 Compiler Theory 15Postfix Notation • If E is a variable or constant , then the postfix notation for E is E itself. • If E is an expression of the form E1 op E2 , where op is any binary operator, then the postfix notation for E is E’1 E’2 op, where E’1 and E’2 are the postfix notations for E1 and E2 , respectively. • If E is a parenthesized expression of the form (E1), then the postfix notation for notation for E is the same as the postfix notation for is the same as the postfix notation for E1 · • X Y Z+U*V?Y 0 X=Y==Z+U*V?Y:0 CS308 Compiler Theory 15
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有