On 30 May 2013, at 23:36, "Stadin, Benjamin" 
<[email protected]> 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. 
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/lang/DrlDumper.java
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/resources/org/drools/compiler/lang/drl.mvel

if you change the drl.mvel to a clp.mvel and change the text it outputs, you 
have yourself a CLP<->DRL translator. The caveat ofcourse is you must keep to 
the common base level of features between the two systems.

> 
> It could be my imagination only, but I think the possibility to define a 
> process once for a parent server instance and being able to execute (parts of 
> the process) temporarily elsewhere, without needing that big parent server 
> for every piece of logic, is something that is currently missing. 
I'm confused, what's this to do with DRL and CLP?

Mark
> 
> Ben
> 
> Von: Mark Proctor <[email protected]>
> Antworten an: Rules Users List <[email protected]>
> Datum: Freitag, 31. Mai 2013 00:16
> An: Rules Users List <[email protected]>
> Betreff: Re: [rules-users] Translate Drools to CLIPS rules
> 
> drools-clips was both a parser and a shell. The parser basically converted 
> clp fr drl, to then be executed in a shell. There was however no interested 
> in the project at all, so we discontinued it.
> 
> The parser and converter might be salvageable, if the project is rescoped 
> simply at a clp to drl translation layer, it might be easier to re-include it 
> again. I suspect as well a reduced scope in effort, will make it easier for 
> people to get involved.
> 
> So if anyone wants to give that a go, to rip open drools-clips, get the 
> parser and translator out, and get it working with 6.0.0.SNAPSHOT. That would 
> be great :)
> 
> Mark
> 
> 
> On 30 May 2013, at 21:16, "Stadin, Benjamin" 
> <[email protected]> wrote:
> 
>> Hi,
>> 
>> I'm interested in possibilities to convert (one-way) Drools to CLIPS rules. 
>> I've followed the discussion about the canceled support for the CLIPS parser 
>> in Drools ("Drools Clips", last reply 2 Feb 2013). However, are there any 
>> options left to make a one-way conversion?
>> 
>> My interest in this is that I currently do a little research about how to 
>> fill the gap between central business rule engines and business process 
>> implementation and execution on smartphones / tablets (iOS, Android, Windows 
>> Phone 8). Currently I'm under the opinion that good old CLIPS could 
>> theoretically be a common denominator to enable common rule definition, and 
>> partial execution of these on mobile devices.
>> 
>> Regards,
>> Benjamin Stadin
>> _______________________________________________
>> rules-users mailing list
>> [email protected]
>> https://lists.jboss.org/mailman/listinfo/rules-users
> 
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to