I\'m looking for an evaluator for simple condition expressions. Expressions should include variables (read only), strings, numbers and some basic operators.
E.g. exp
Why don't you use Rhino? It's a JavaScript engine already present inside the JDK.
It can evaluate whatever you like to write in JS.. take a look here