Hey all i was wondring if it is possible to parse text to an if statement and also have and, or, and xor added to so lets say if i have some tokens in a list as following:
if, someVarible, isequal, anothervarible, and /or/xor someVarible isequal aathirdvarible do something.
that should be translated into if(var1 == var2 &&/||/^ var1 == var3) { body }
at the moment i can make it work for a single statement/boolean expression but im really lost how i can check for multiply by using the reflections. it migth be more than 2 comparisons that is needed with both ands and ors so it must be able to call it recrusive. so if any one out there have a solution i would love to hear from you - thanks a lot.
-Jackie