Support for Boolean operators would not be to difficult to add support for. Boolean operations to be added would include:
'<'Less
'>'Greater
'<='Less than or equal to
'>='Greater than or equal to
'=='Equality
'!='Inequality
Each of the operators above should be able to be implemented using existing OperatorExpression class sense they take the infix form {Expression} + {Operator} + {Expression}. Operators should be able to handle complex expressions on both sides:
-(21 / 2) ^ 2 ^ 2 > (2.4 + 3 * 4) / 3.5
It is unclear at the moment what the best way of returning results of a equality/relational operation is. The current idea is to return binary Boolean values (1.0 and 0.0). Another idea is to implement the use of generics to be able to return a true java Boolean value, this would have implications else where but it is not out of the scope of what is possible while keeping the library as small as possible
Support for Boolean operators would not be to difficult to add support for. Boolean operations to be added would include:
OperatorExpression
class sense they take the infix form {Expression} + {Operator} + {Expression}. Operators should be able to handle complex expressions on both sides:It is unclear at the moment what the best way of returning results of a equality/relational operation is. The current idea is to return binary Boolean values (1.0 and 0.0). Another idea is to implement the use of generics to be able to return a true java Boolean value, this would have implications else where but it is not out of the scope of what is possible while keeping the library as small as possible