This is an automated email from the ASF dual-hosted git repository. henrib pushed a change to branch JEXL-369 in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
from 55aad518 JEXL-369: add fat-arrow to syntax add bb04b40c Merge pull request #94 from apache/JEXL-368 add b0d5bf41 Bump github/codeql-action from 1 to 2 add 38c0b841 Merge pull request #93 from apache/dependabot/github_actions/github/codeql-action-2 add 33bc10c1 JEXL-366: compare will try and convert a string to number when one argument is a number add fa3e3db7 JEXL-342: extend arithmetic to dereference references (sic); add 42eefe6f JEXL-366: homogenize conversion from string to numbers; new 207eb701 JEXL-367: add fat-arrow to syntax new a2e1aaa3 JEXL-369: add fat-arrow to syntax new 75f9fe97 JEXL-369: initial feature drop, lacks serious tests; new 4182a621 Merge remote-tracking branch 'origin/JEXL-369' into JEXL-369 new 10fc2f15 JEXL-369: initial feature drop, lacks serious tests; The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .github/workflows/codeql-analysis.yml | 6 +- .../org/apache/commons/jexl3/JexlArithmetic.java | 158 +++++++++----- .../apache/commons/jexl3/internal/Debugger.java | 8 +- .../apache/commons/jexl3/internal/Engine32.java | 2 +- .../org/apache/commons/jexl3/internal/Frame.java | 7 + .../apache/commons/jexl3/internal/Interpreter.java | 27 +-- .../commons/jexl3/internal/InterpreterBase.java | 8 +- .../org/apache/commons/jexl3/internal/Scope.java | 51 ++++- .../apache/commons/jexl3/parser/ASTIdentifier.java | 20 ++ .../org/apache/commons/jexl3/parser/ASTLet.java | 35 ---- .../apache/commons/jexl3/parser/JexlParser.java | 31 ++- .../org/apache/commons/jexl3/parser/Parser.jjt | 15 +- .../org/apache/commons/jexl3/ArithmeticTest.java | 100 +++++++-- .../org/apache/commons/jexl3/JexlTestCase.java | 13 ++ .../java/org/apache/commons/jexl3/LexicalTest.java | 57 ++++- .../commons/jexl3/jexl342/OptionalArithmetic.java | 231 +++++++++++++++++++++ .../apache/commons/jexl3/jexl342/OptionalTest.java | 52 +++++ 17 files changed, 678 insertions(+), 143 deletions(-) delete mode 100644 src/main/java/org/apache/commons/jexl3/parser/ASTLet.java create mode 100644 src/test/java/org/apache/commons/jexl3/jexl342/OptionalArithmetic.java