I want to use the CLIPS rules engine in an application. I will put a GIU front end on it and then pass the assertions and rules to it from the GIU.
Is there any way to programmatically (from c/c++) pass the commands through to CLIPS as if they were being typed into the CLIPS front end? For example to enter a statement like:
(assert (foo bar))
I know that there is an API for sending assertions, rules, etc. to CLIPS from C++ with statements like this:
However this requires setting up a different API call for each of the dozens of types of statements. It would be much simpler to just send the statements to CLIPS as they would be typed into it's front end.