 <p>You can try the <a href="http://code.google.com/p/symja/wiki/MathExpressionParser" rel="nofollow noreferrer">math expression parser</a> from my <a href="http://code.google.com/p/symja/" rel="nofollow noreferrer">Symja</a> project.</p>