Hi,
This might be a dumb question but I've been experimenting with DSLs and
DSLRs (apart from the Guvnor) and had some limited success with creating
simple English-ish rules like this one:
rule "cheese_location_rule"
when
Cheese is "cheddar" and is from Italy
then
Add the message "Cheddar is from Italy"
end
One of the language we are seeking to model is Arden via MLMs. I know based
on other posts that Arden is not really popular as a candidate for seamless
integration into DROOLS
http://drools.46999.n3.nabble.com/Arden-Syntax-support-in-Drools-Guvnor-t...
But if one can only express whatever "language" in either the WHEN or the
THEN, then I guess I don't see the utility of it except as a grammatical
fragment of an overall language. We were hoping to use the Guvnor as a rule
authoring tool for Arden and possibly other languages. But MLMs are very
specific and procedural and (on the whole) don't match the WHEN/THEN form.
But is there any other way to author an Arden MLM from within the Guvnor (or
any arbitrary rule file for that matter) so that we can take advantage of
the grammar aware features of the editor and it's content management
abilities?
Or is it the case that the WHEN simply acts as the trigger for the rule
execution and the when can somehow "#INCLUDE" a separate flat file
containing the MLM that is editable via the Guvnor?
Thanks,
Jeff
--
View this message in context:
http://drools.46999.n3.nabble.com/DSL-Question-tp3040701p3040701.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.