You can write the GUI in any language you want just use the clips command line program in batch mode.
c:\ clips -f file.clp // this runs the clips program from the command line with the file.clp as input.
in the file.clp file yo:
-
You can write the GUI in any language you want just use the clips command line program in batch mode.
c:\ clips -f file.clp // this runs the clips program from the command line with the file.clp as input.
in the file.clp file you:
- turn on the dribble-on -- this writes output for a file you name
- have the templates and the rules to run your expert system
So you have your Java program or whatever WRITE out the file.clp file (standard compiler technology).
In Java you then use ProcessBuilder to execute the "clips -f file.clp" command in batch mode and wait on it to run, then read the dribble on file that clips created when it ran and parse that for output (knowledge).
Read that knowledge (as string data) back into your GUI program in Java and you have Clips running in batch.
It is quite satisfactory in running time, nothing every really hits the hard drive, it is all cached in memory.
I fiddled with this a couple years ago and got it working in a couple days.
Alternately, send email to CLIPSESG-unsubscribe@googlegroups.com. You will receive an email which you must respond to as well to unsubscribe. Clicking the link mentioned in the unsubscribe reply does not appear to work reliably.
---
You received this message because you are subscribed to the Google Groups "CLIPSESG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clipsesg+unsubscribe@googlegroups.com.
Why resort to batch files?
CLIPS has a great customisable I/O interface.
Read Chapter 7 of the Programmers Guide on I/O Routers!
Alternately, send email to CLIPSESG-unsubscribe@googlegroups.com. You will receive an email which you must respond to as well to unsubscribe. Clicking the link mentioned in the unsubscribe reply does not appear to work reliably.
---
You received this message because you are subscribed to the Google Groups "CLIPSESG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clipsesg+unsubscribe@googlegroups.com.