values.put("val2", new BigDecimal(7));
values.put("val3", new BigDecimal(8));
values.put("val4", new BigDecimal(20));
values.put("val5", new BigDecimal(20));
Parser p = new Parser("val1+val2-(val3*val4/val5^2.0)+val1^2.0^3.0");
BigDecimal value = p.eval(p.lexicalVerifier(), values);
assertEquals(value.compareTo(new BigDecimal("390636.6")), 0);
}