[jboss-jira] [JBoss JIRA] (DROOLS-3112) FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper
Kris Verlaenen (Jira)
issues at jboss.org
Mon Nov 5 06:24:22 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kris Verlaenen updated DROOLS-3112:
-----------------------------------
Sprint: 2018 Week 42-44, 2018 Week 45-47 (was: 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