<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 May 2013 13:44, Mark Proctor <span dir="ltr"><<a href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 31 May 2013, at 07:43, Wolfgang Laun <<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>> wrote:<br>
<br>
> On 31/05/2013, Mark Proctor <<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>> wrote:<br>
>><br>
>> On 30 May 2013, at 23:36, "Stadin, Benjamin"<br>
>> <<a href="mailto:Benjamin.Stadin@heidelberg-mobil.com">Benjamin.Stadin@heidelberg-mobil.com</a>> wrote:<br>
>><br>
>>> I'd be willing to get involved, but since you mention clp to drl only,<br>
>>> will it also be possibly to convert drl to clp?<br>
>> yes. There is already a "DrlDumper" that takes a Rule and dumps it to a<br>
>> string, using a bunch of recursive mvel templates. You can copy/paste this<br>
>> and have it dump to CLP instead.<br>
> Copy/paste with a whole lot of magic ;-)<br>
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.<br>
<br>
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 :)<br></blockquote><div><br></div><div>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.<br>
<br></div><div>-W<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Mark<br>
><br>
> Wolfgang<br>
<div class="HOEnZb"><div class="h5">> _______________________________________________<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
<br>
_______________________________________________<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" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div></div>