On Dec 8, 2006, at 5:38 AM, Helge Hartmann wrote:

Hi!

In the manual there is a section on converting Jess to JessML. I am going to write a rule editor and want to use JessML. As XML is not a good readable format, I am interested in converting my JessML results to Jess. But I don't know how to do this. Is the functionality included in Jess?


There's no source-to-source translator as there is for Jess to JessML, no. The JessSAXParser class can be used to read JessML code into a Rete object, and from there you could extract, e.g., the Defrules, and use the PrettyPrinter class to turn those into Jess code.


I also read about the article "Modeling Rule-Based Systems with EMF". This seems to be interesting. Do you think, this would be a good way to produce the Jess code? As I am not familar with EMF, I shy away from this approach. Where are the main advantages over using JessML?


I think EMF is a good thing for tool building. JessML is an underlying technology which could easily be used by an EMF solution; they're not really alternatives.

---------------------------------------------------------
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://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to