This is a personal fork of EvalEx with lots of incompatible and unstable changes.
Please check out the original repo here on GitHub.
Changes over upstream:
- Inlining of simple and constant expressions.
- Lazy array and list conversions.
- String multiplication and number conversion.
"Hello" * 3 => "HelloHelloHello"
DataAccessorIfc
data type.- Immutable contexts and expressions.
- Replaced expression-wide variables with
evaluate
only parameters. Object[]
in various places to allow passing arbitrary objects to data accessors and custom functions.- Constant are no longer copied to each expression.
- Data accessors can now throw EvaluationExceptions.
- Custom identifier characters.
- Removed dictionary interfaces.
- Switched from maven to gradle.
- And more...
Copyright 2012-2023 by Udo Klimaschewski
Thanks to all who contributed to this project: Contributors
The software is licensed under the Apache License, Version 2.0 ( see LICENSE file).
- The power of operator (^) implementation was copied from Stack Overflow Thanks to Gene Marin
- The SQRT() function implementation was taken from the book The Java Programmers Guide To numerical Computing ( Ronald Mak, 2002)