i am looking for a good c++ rule engine. can you please let me know if there there any XML based rule engine for C++
Asked
Active
Viewed 1.3k times
14
-
10what is a "rule engine"? – reko_t May 31 '10 at 09:32
-
1@reko_t http://stackoverflow.com/questions/1596073/what-is-rule-engine – Nick Dandoulakis May 31 '10 at 09:43
-
1@reko_t: Rule Engine is basically a controller that parses rules from a rules database and applies it on a certain transaction/data/input. – Kangkan May 31 '10 at 09:44
-
Please check [here](http://www.flexrule.com/archives/business-rule-engine-bre/) to have an explanation of what is a rule engine. – Arash Aghlara Sep 27 '13 at 00:20
3 Answers
6
Check CLIPS (developed originally by NASA) Its a rules engine written in C. It is under continuous development for many years. However, the rules are defined in LISP like rule defintion language.
Its hosted on sourceforge http://clipsrules.sourceforge.net/

Nitin Bhide
- 1,685
- 14
- 15
1
I guess the answer to "what is a rule engine" is there : What can Rules Engines accomplish?
But that's a too broad definition. In fact a "rule engine" should be totally dependant on your domain. The engine will provide settings (XML based or anything else suitable for the task) and then apply the rules.
So look for domain-specific engines and you'll certainly find something useful.