Next Prev Up Top Contents Index

2.7 Lisp Integration

You can save your object base of animals by typing

(save-animals "my-animal-objs.lisp")

into the listener. In the file of rules "animal-rules.lisp" look at the function save-animals which does this. Note how the lisp code directly uses the same objects as the rules. If we used the lisp code to modify the slots of the objects the KnowledgeWorks rule interpreter would keep track.

Remember: KnowledgeWorks CLOS objects are ordinary CLOS objects and can be used outside KnowledgeWorks rules.

2.7.1 LispWorks


LispWorks KnowledgeWorks and Prolog User Guide - 15 Jul 2003

Next Prev Up Top Contents Index