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