I need to evaluate a parenthesized boolean expression I receive in a String. Since I need to deal with variable expression i need to find a way to parse it into a boolean expression to evaluate it in java. An example for an String expression is:
String boolexpr1 = "(!(true||false)&&!((true)^(true)))"
Didn't expect it could be that simple.