Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - operator priority grammar
Search - operator priority grammar - List
以字符形式从终端输入语法正确的,不含变量的整数表达式。利用算符优先关系,实现对算术四则混合运算表达式求值。-to form characters from the terminal input grammar correct, the non-integer variable expression. Operator priority relations and the realization of the four arithmetic operations mixed expression value.
Date : 2008-10-13 Size : 1.87kb User : 刘飞

算符有限分析法 //程序功能: //根据算符优先分析法,将表达式进行语法分析,判断一个表达式是否正确。 //文法:E→E+E E-E E*E E/E (E) i // 其中i为无符号整数-operator limited analysis / / procedural functions : / / operator under priority analysis, to conduct regular expression syntax analysis, judgment, an expression is correct. / / Grammar : E E E E-E E E * E / E (E) i / / for which i unsigned integers
Date : 2008-10-13 Size : 23.03kb User : 陈军
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.