public static void main(String[] args)
throws ParseException, EvaluationException
{
FormulaParser parser = new FormulaParser();
LValue x;
// x = parser.parse("1 * 2 + 3 * 4");
// x.initialize(new DefaultFormulaContext());
// System.out.println(x);
//
// x = parser.parse("[a] * [b] + [c] * [d]");
// x.initialize(new DefaultFormulaContext());
// System.out.println(x);
//
// x = parser.parse("IF([A];[B];[C])");
// x.initialize(new DefaultFormulaContext());
// System.out.println(x);
//
// x = parser.parse("1 + ( 2+ (3 + (400 + 200)))");
// x.initialize(new DefaultFormulaContext());
// System.out.println(x);
x = parser.parse("(1)()");
x.initialize(new DefaultFormulaContext());
System.out.println(x);
}