Indeed, that's what I need. General use case would be to have a "parent" drools 
engine on a fat server, and small clips based rule engines - knowing at least 
the parts of the process they have to care about. 

I was also looking into rule exchange between those two, but it seems W3C rule 
exchange in it's current state is not really useful.
________________________________________
Von: rules-users-boun...@lists.jboss.org [rules-users-boun...@lists.jboss.org] 
im Auftrag von Wolfgang Laun [wolfgang.l...@gmail.com]
Gesendet: Freitag, 31. Mai 2013 18:11
An: Rules Users List
Betreff: Re: [rules-users] Translate Drools to CLIPS rules

On 31 May 2013 13:44, Mark Proctor 
<mproc...@codehaus.org<mailto:mproc...@codehaus.org>> wrote:

On 31 May 2013, at 07:43, Wolfgang Laun 
<wolfgang.l...@gmail.com<mailto:wolfgang.l...@gmail.com>> wrote:

> On 31/05/2013, Mark Proctor 
> <mproc...@codehaus.org<mailto:mproc...@codehaus.org>> wrote:
>>
>> On 30 May 2013, at 23:36, "Stadin, Benjamin"
>> <benjamin.sta...@heidelberg-mobil.com<mailto:benjamin.sta...@heidelberg-mobil.com>>
>>  wrote:
>>
>>> I'd be  willing to get involved, but since you mention clp to drl only,
>>> will it also be possibly to convert drl to clp?
>> yes. There is already a "DrlDumper" that takes a Rule and dumps it to a
>> string, using a bunch of recursive mvel templates.  You can copy/paste this
>> and have it dump to CLP instead.
> Copy/paste with a whole lot of magic ;-)
yeah the LHS isn't so had, if they stick to simple patterns, the RHS is a whole 
different kettle of fish :) You can load the RHS into an antlr based java.g 
grammar, and try and translate it - but it wouldn't be fun.

So probably best first to stick to clp->drl, which is more straight forward. 
Besides, once you are on DRL, why would you want to go back to CLP :)

OP's primary intention seemed to be a DRL to CLP translator, which - according 
to your first answer - was classified to be a simple copy/paste endeavour. Not 
so.

-W


Mark
>
> Wolfgang
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org<mailto:rules-users@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to