I think Daniel Bond wrote: > Hi everyone. I'm a Jess newbie and am trying to convert some Lisp > code to Jess. The program is actually a logical reasoning solver and > applies Wang's Algorithm. There is a good bit of recursive pattern > matching. > > Since I know very little about Jess, I thought I would ask here. Can > you get to the underlying Lisp functions (for instance, cond) from > Jess? Is this an insurmountable task? > > If your interested, I have attached a copy of the Lisp code. >
There are no underlying Lisp functions save those described in the manual; Jess is not built on top of a full Lisp implementation. Now, it's actually easy to add functions written in Java to Jess, so to some extent, you may be able to add what you need. But the biggest limitation, probably a show-stopper for you, is that Jess, by design, doesn't support nested lists. Any attempt to build a list with another list as an element will result in just one big flat list. --------------------------------------------------------- Ernest Friedman-Hill Advanced Software Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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] --------------------------------------------------------------------
