Lately I've been trying out few options for parsing and evaluation of the expressions with a mix of standard and domain specific custom functions with the ability to set the dependencies dynamically.
One of the issues I found with the parser was it was not taking into account negative values in the expressions like in the following expression:
*(2.0 + Max(2,5,6)* -1)*
It creates a Expr with null value on parsing the above expression.
something like the following:
*(2.0 + Max(2,5,6)*null -1)*
Smith / Anyone can you please take a note of this and please get back with a proper release with this issue taken care of?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
Lately I've been trying out few options for parsing and evaluation of the expressions with a mix of standard and domain specific custom functions with the ability to set the dependencies dynamically.
One of the issues I found with the parser was it was not taking into account negative values in the expressions like in the following expression:
*(2.0 + Max(2,5,6)* -1)*
It creates a Expr with null value on parsing the above expression.
something like the following:
*(2.0 + Max(2,5,6)*null -1)*
Smith / Anyone can you please take a note of this and please get back with a proper release with this issue taken care of?
Hi,
I've run a unit test with the above text and the current parser and it works fine (result is 7.0).
Regards,
Peter