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

Edoardo Vacchi (Jira) issues at jboss.org
Wed Oct 17 10:55:00 EDT 2018


    [ https://issues.jboss.org/browse/DROOLS-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649419#comment-13649419 ] 

Edoardo Vacchi commented on DROOLS-3112:
----------------------------------------

waiting for DROOLS-3088 to be merged for merging this

> 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