<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 30 May 2013, at 23:36, "Stadin, Benjamin" &lt;<a href="mailto:Benjamin.Stadin@heidelberg-mobil.com">Benjamin.Stadin@heidelberg-mobil.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>I'd be &nbsp;willing to get involved, but since you mention clp to drl only, will it also be possibly to convert drl to clp?&nbsp;</div></div></blockquote>yes. There is already a "DrlDumper" that takes a Rule and dumps it to a string, using a bunch of recursive mvel templates.&nbsp;&nbsp;You can copy/paste this and have it dump to CLP instead.&nbsp;</div><div><a href="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/java/org/drools/compiler/lang/DrlDumper.java</a></div><div><a href="https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/resources/org/drools/compiler/lang/drl.mvel">https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/resources/org/drools/compiler/lang/drl.mvel</a></div><div><br></div><div>if you change the drl.mvel to a clp.mvel and change the text it outputs, you have yourself a CLP&lt;-&gt;DRL translator.&nbsp;The caveat ofcourse is you must keep to the common base level of features between the two systems.</div><div><br></div><div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div>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.&nbsp;</div></div></blockquote>I'm confused, what's this to do with DRL and CLP?</div><div><br></div><div>Mark<br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div><br></div><div>Ben</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); "><span style="font-weight:bold">Von: </span> Mark Proctor &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt;<br><span style="font-weight:bold">Antworten an: </span> Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br><span style="font-weight:bold">Datum: </span> Freitag, 31. Mai 2013 00:16<br><span style="font-weight:bold">An: </span> Rules Users List &lt;<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>&gt;<br><span style="font-weight:bold">Betreff: </span> Re: [rules-users] Translate Drools to CLIPS rules<br></div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
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.
<div><br></div><div>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.</div><div><br></div><div>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 :)</div><div><br></div><div>Mark<br><div><br></div><div><br><div><div>On 30 May 2013, at 21:16, "Stadin, Benjamin" &lt;<a href="mailto:Benjamin.Stadin@heidelberg-mobil.com">Benjamin.Stadin@heidelberg-mobil.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div><br></div><div>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&nbsp;2 Feb 2013). However, are there any options left to make a one-way
 conversion?</div><div><br></div><div>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.</div><div><br></div><div>Regards,</div><div>Benjamin Stadin</div></div>
_______________________________________________<br>
rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></blockquote></div><br></div></div></div></div></span></div>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users</blockquote></div><br></body></html>