<p>Stilton good is favourite mine.</p>
<p>The force is strong in this one.</p>
<p>sent on the move</p>
<p>On 16 Apr 2011 16:48, &quot;Mark Proctor&quot; &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt; wrote:<br type="attribution">&gt; I have the basics to backward chaining working now, using both named and <br>
&gt; positional arguments and mix of both. Mixed positional/named syntax is <br>&gt; based conceptually on the RuleML proposal for POSL:<br>&gt; <a href="http://ruleml.org/submission/ruleml-shortation.html">http://ruleml.org/submission/ruleml-shortation.html</a><br>
&gt; <br>&gt; POSL provides a bridge between the positional terms, often used in <br>&gt; Prolog, and &quot;slotted&quot; names used in OO languages. POSL allows the best <br>&gt; of both worlds.<br>&gt; <br>&gt; I&#39;m building out the tests, which should illustrate the behaviour and <br>
&gt; syntax here:<br>&gt; <a href="https://github.com/droolsjbpm/drools/tree/master/drools-compiler/src/test/java/org/drools/integrationtests/BackwardChainingTest.java">https://github.com/droolsjbpm/drools/tree/master/drools-compiler/src/test/java/org/drools/integrationtests/BackwardChainingTest.java</a><br>
&gt; <br>&gt; Still lots to do to improve the over all syntax and consistency across <br>&gt; patterns. The last test is a geneology style test which is probably more <br>&gt; intesting to people. There is still an issue here when using eval. I <br>
&gt; currently use &quot;new Variable&quot; to indicate an unbound unification <br>&gt; variable, the problem is that evals and other things generate code <br>&gt; expecting the original object type, say &quot;String&quot; and this results a cast <br>
&gt; error (see sibling rule). I want to avoid an explicit instanceof check <br>&gt; for unwrapping and will be working on that over the weekend.<br>&gt; <br>&gt; There is enough there now to give people an idea of what it looks like. <br>
&gt; I&#39;ll try and put together a &quot;roadmap&quot; for BC, along with more details of <br>&gt; the syntax next week once it all comes together.<br>&gt; <br>&gt; If anyone wants to help on this, you know where to fine me :)<br>
&gt; <a href="http://irc.codehaus.org">irc.codehaus.org</a> #drools<br>&gt; <br>&gt; Mark<br>&gt; <br>&gt; _______________________________________________<br>&gt; rules-dev mailing list<br>&gt; <a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br></p>