[jboss-jira] [JBoss JIRA] (DROOLS-3112) FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper

Edoardo Vacchi (Jira) issues at jboss.org
Thu Oct 11 07:41:00 EDT 2018


Edoardo Vacchi created DROOLS-3112:
--------------------------------------

             Summary: FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper 
                 Key: DROOLS-3112
                 URL: https://issues.jboss.org/browse/DROOLS-3112
             Project: Drools
          Issue Type: Enhancement
            Reporter: Edoardo Vacchi
            Assignee: Edoardo Vacchi


Code in FEELImpl could be reused in the DMNFEELHelper, but it cannot be shared, because FEELImpl exposes an interface to evaluate expressions, while DMNFEELHelper needs access to the compiler backend.

Solution: separate the compilation pipeline and the interpreter pipeline from the public FEEL interface to promote code reuse. In particular, CompilerBytecodeLoader can be probably split between some kind of CompiledUnit+CompiledUnaryTest impls that provide methods to retrieve Java source code and/or JVM bytecode.




--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list