Ernest, I'd also like to indicate my interest in an API to parse the CE's on a rule (or query) LHS.
In my case, the motivation is for a design tool that will identify which facts (and slots) are in a given rule LHS. Likewise, which rules USE a given fact/slot in their LHS. (strictly speaking I mean deftemplates here, not instances of facts) A complimentary API would be one that identifies which facts (templates) are asserted, modified or retracted on a rule RHS. Any consideration for this? Thanks, Jack [EMAIL PROTECTED] wrote: > The way LHS are compiled is undergoing dramatic changes in the 6.1a > series. You're right, it looks as though I haven't left any public API > that can be used to enumerate the patterns on a rule LHS. But note > that even if I did, the information might not be useful, and your code > would surely break with the next release. > > When the dust settles, the interface "ConditionalElement," now package > protected, will be public -- but many of its current methods will be > removed. A ConditionalElement will just have a name, and a way of > iterating its children, if any. > > I think Lakshmi Vempati wrote: > > > > I am attempting to upgrade to Jess 6.1a4 from the stable Jess6.0. > > Upto Jess6.0 I could access the LHS patterns when a new defrule is > > added. > > In Jess6.1a4 I can still access the patterns but no longer can access > > any > > Group (package protected class) information. Is there any other means > > other than using > > getCE method on the defrule class to access this information? > > > > Thanks, > > Lakshmi Vempati > > > > --------------------------------------------------------- > Ernest Friedman-Hill > Distributed Systems Research Phone: (925) 294-2154 > Sandia National Labs FAX: (925) 294-2234 > Org. 8920, MS 9012 [EMAIL PROTECTED] > PO Box 969 http://herzberg.ca.sandia.gov > Livermore, CA 94550 > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' > in the BODY of a message to [EMAIL PROTECTED], NOT to the list > (use your own address!) List problems? Notify [EMAIL PROTECTED] > -------------------------------------------------------------------- -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
