title: Java 1.5: mathematical formula parser
body: <p>Hello i often develop JTableModels in which some cells must contain the result of apliying a certain simple mathematical formula. This formulas can have:</p>
  
  <ul>
  <li>Operators (+,-,*,/)</li>
  <li>Number constants</li>
  <li>Other cell references (which contains numbers)</li>
  <li>Parameters (numbers with a reference name like "INTEREST_RATE")</li>
  </ul>
  
  <p>I often resolve it making a little calculator class which parses the formula, which syntax i define. The calculator class uses a stack for the calcs, and the syntax uses allways a Polish notation.</p>
  
  <p>But the Polish notation is unnatural for me and for my users. So my question is... </p>
  
  <p><b>Is there a lib which runs in 1.5 jvm's and can handle my requeriments and use normal notation (with brackets, i don't know the name of this notation style) for formulas?</b></p>
  
  <p>P.D it's supposed that the formulas are allways syntax correct and i can preprocess the numbers that are not constants to provide their values</p>