I'm working on a java program, and one of the tasks I desire it to complete is converting a user given input into an equation that the program will solve. An example would be "(10 + 5 / 3) 2 - 3 (10 * (8 ^ 4))". It has to be able to solve secondary education level equations, so exponents, exponential notation, and possibly even variable solving are required.
I've looked around stackoverflow and found two things, third party API's and the ScriptEngine.
I have problems with both of these, as I don't desire to use any third party API's and the script engine's eval() function, at least to my what I've read and understand, is limited in it's capabilities.
Is there any other native API for doing something like this? Some trick I'm missing?
So, to recap, I want something native to java, that is not the script engine, that can solve secondary education level equations and expressions.