EvalEx icon indicating copy to clipboard operation
EvalEx copied to clipboard

EvalEx is a handy expression evaluator for Java, that allows to evaluate simple mathematical and boolean expressions.

Results 14 EvalEx issues
Sort by recently updated
recently updated
newest added

Something like the following write-up, `ARRAYFIND(data_mapping_model, item => item.map_type == '3')` loop through the array, then filter by the conditional expression to find every element that returns true。

question

Caused by androidx.datastore.preferences.protobuf.t0: Operator annotation for 'E1.a' not found at com.ezylang.evalex.operators.OperatorAnnotationNotFoundException.(OperatorAnnotationNotFoundException.java:118) at com.ezylang.evalex.operators.AbstractOperator.(AbstractOperator.java:118) at com.ezylang.evalex.config.ExpressionConfiguration.$default$operatorDictionary(ExpressionConfiguration.java:28) at com.ezylang.evalex.config.ExpressionConfiguration$ExpressionConfigurationBuilder.build(ExpressionConfiguration.java:28) at com.Kenneth_Technologies.SigMath.fragments.CalculatorFragment.(CalculatorFragment.java:28) at com.Kenneth_Technologies.SigMath.activities.MainActivity.loadCalculatorFragment(MainActivity.java:18) at com.Kenneth_Technologies.SigMath.activities.MainActivity.onCreate(MainActivity.java:575) at android.app.Activity.performCreate(Activity.java:8944) at android.app.Activity.performCreate(Activity.java:8913) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456) at...

I have a use-case where it would be highly beneficial if there would be a possibility to determine the result type an expression will yield (if executed successfully). Is this...

enhancement
question

Hi, I've noticed that the `SQRT` function's Javadoc says that it uses the default `BigDecimal#sqrt` implementation, which is not the case, as the results produced by the default and `SQRT`...

enhancement

"{airQuality.temperature} > 44" Map values = new HashMap(); values.put("a-b", "indoor"); EvaluationValue result = e.withValues(values).evaluate(); BaseException(startPosition=4, endPosition=5, tokenString=a, message=Variable or constant value for 'a' not found) at Main.main(Main.java:24) Caused by: BaseException(startPosition=4,...

new String functions STR_LEFT and STR_RIGHT

Version: `com.ezylang:EvalEx:3.4.0` I have a product using this library and have seen the below StackOverflowError in logs. Unfortunately I don't have access to the expression that triggered this, only the...

> @uklimaschewski Has reflection or something runtime related been added in the last versions? Version 3.4.0 no longer works on Android when using R8 (Code shrinking), if so we should...

bug

Flatten pom.xml for distribution.

Thanks for providing this great library! I have a use case where multiple expressions with dependencies between them that needs to be solved piece by piece (expression by expression), ie...