Skip to end of metadata
Go to start of metadata

Cre stands for Combinatory Rulet Engine.

How is Cre different than rule engines such as Drools?

Different than full blown rule engines such as drools, cre doesn't have deduction capability. Changes in the facts do not automatically fire off any rule. This makes cre a lot less powerful and intelligent than those rule engines. The upside, however, is simplicity. Though not as automated, we don't have to worry about rule conflicts and prededence. Programmers have full control over what should happen. Actually, cre is more like a scripting environment where rules can be expressed and combined in a natural syntax.

How is cre similar to other rule engines?

Similar to all rule engines, cre can be used to externalize volatile business logic from java source code with a declarative syntax.

What does cre code look like?

The following code snippet implements the logic that if both tv and speaker are purchased, apply discount 0.05; if tv, speaker and dvd are all purchased, apply discount 0.07

See these pages for further discussion:

Labels: