示例#1
0
文件: Main.cs 项目: dskinner/calc
 public decimal Parse(string input)
 {
     Lexer lexer = new Lexer(this, input);
     lexer.Run();
     flushWordNumBuf();
     while (stack.Count != 0)
     {
         postfix.Add(stack.Pop());
     }
     return evaluate();
 }