Content-Type: |
text/plain; charset="us-ascii" |
Date: |
Thu, 18 Apr 2013 15:41:27 -0400 |
Reply-To: |
|
Subject: |
|
From: |
|
Content-Transfer-Encoding: |
8bit |
In-Reply-To: |
|
MIME-Version: |
1.0 (Apple Message framework v1085) |
Sender: |
|
Parts/Attachments: |
|
|
On Apr 18, 2013, at 11:13 AM, Bojan Janisch wrote:
> Well I'm using JBoss Drools if it is compatible. Also there is a regular syntax which each rule has to fulfill, doesn't matter which rule engine is used. Imports, Definition, Premise, Conclusion, I think you know how a rule looks like.
>
> My main problem consists of defining the parts of a rule, e.g. if I only want to mutate the premise of a rule, how do I define what a premise is? And how do I define the imports and globals and the conclusion?
I am afraid I must tell you that these kinds of things are entirely domain-specific. You are looking at having to develop a custom representation for your problem. It doesn't help matters that Drools is a business logic rules language with its own curious semantics. This is not stuff that ECJ (or really any general-purpose toolkit) can provide: you're going to have to make these decisions and implementation.
Sean
|
|
|