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

Edoardo Vacchi (Jira) issues at jboss.org
Mon Oct 15 07:27:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edoardo Vacchi updated DROOLS-3112:
-----------------------------------
    Sprint: 2018 Week 42-44


> 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
>            Priority: Major
>              Labels: drools-core
>
> 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