MVEL 2.x AST walker code to rewrite/extract expressions
Java
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
src
.gitattributes
.gitignore
README.md
license.txt
mvel-plus.iml
pom.xml

README.md

mvel-plus

MVEL 2.x AST walker code to rewrite/extract expressions.

This is some old experimental code that I wrote to walk the AST nodes created by the MVEL expression parser (another little experiment with mini-DSLs).

The code is somewhat complete with only 1 test case (ahem, no assertions .. yet).

Best place to dive in to see it work is the test case MvelExpressionOptimizerTest.java

The ASTNodeDecompiler will probably be more useful to you.

The MvelQoeTransformer was an attempt to extract and flatten nested conjunctions/disjunctions (and/or). The intent was to pull some parts out for indexing data sets etc like a database index. This one needs work.