Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6020

Separate drools-model-compiler generator from interpreter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • executable model
    • None
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

      Currently in the executable model the `drools-model-compiler` has the code to generate executable model DSL under the package `org.drools.modelcompiler.builder.generator` and the interpreter that takes the DSL as the input and outputs the RETE under the `org.drools.modelcompiler` package.

      These two packages can be split in two modules, i.e.

      drools-executable-model-compiler
      drools-executable-model-runtime

      So that when having a KJAR with the DSL compiled, only the latter is needed to execute it.

      Note that currently the compiler outputs the DSL based on these classes

      package org.drools.modelcompiler.dsl.flow;
      
      public class D extends FlowDSL {
      }
      
      public class D extends PatternDSL {
      }
      

      And this has to be changed, as while executing it there'll be no modelcompiler jar.

      At the same time we should keep a copy of those classes in that position so that we don't loose backwards compilation

              lmolteni@redhat.com Luca Molteni
              lmolteni@redhat.com Luca Molteni
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: