14
I'm looking for a JAVA library to parse & evaluate expression. I searched and tried some libraries like Apache's JEXL and Jeval, but they are not exactly what I need.
My requirements:
- Support all value types (i.e. int,double,boolean,String, etc.)
- Support all known mathematical & logical operators (+,-,*,<,<=,etc.)
- Support variables (without any special notation - for example in Jeval variable a should be written like #{a} - not good enough for me)
- Support custom functions - with type enforcement and validation
Any recommendations?