Are there any java libraries or techniques to parsing boolean expressions piecemeal?
What I mean is given an expression like this:
T &
Check out BeanShell. It has expression parsing that accepts Java-like syntax.
EDIT: Unless you're trying to actually parse T && F literally, though you could do this in BeanShell using the literals true and false.
T && F
true
false