// ExpressionNode expr = parser.parseExpression("sin(pi/2)");
// expr.accept(new SetVariable("pi", Math.PI));
// System.out.println("The value of the expression is " + expr.getValue());
long t = System.currentTimeMillis();
ExpressionNode expr = null;
for (int i = 0; i < 1000; i++) {
expr = parser.parseCondition("2.8 + 0.1*2 == 3 && 22 > 21 + 0.5");
expr.getBooleanValue();
expr = parser.parseExpression("a['b'] + ' o\\'clock' + (1 + 2 * 3 - sin(3) / 2 + 2 ^ 3)");
expr.getValue();
expr = parser.parseCondition("2.8 + 0.1*2 == 3 && 22 > 21 + 0.6");
expr.getBooleanValue();
expr = parser.parseExpression("a['b'] + ' o\\'clock' + (1 + 2 * 3 - sin(3) / 2 + 2 ^ 4)");
expr.getValue();
}
t = System.currentTimeMillis() - t;
log.debug("Finish. Execution took " + (t / 1000.0) + "s");