Hi Mark ,
Can you just help me in converting this drl to dsl. ? How do i break lines
in DSL involving OR conditions.?
"[when]-" works for AND conditions . Do i really need give some english text
(DSL mapping) for each line of the when condition when i use "[when]-"
//Sample drl file.
package
Thankyou very much mark and michael...
Mark Proctor wrote:
>
> Its not straight forward but you can use the DRLDumper, one a
> PackageDescr, assuming it parses without errors:
> DrlParser parser = new DrlParser();
> PackageDescr pkg = parser.parse( source,
>
Its not straight forward but you can use the DRLDumper, one a
PackageDescr, assuming it parses without errors:
DrlParser parser = new DrlParser();
PackageDescr pkg = parser.parse( source,
dsl );
final DrlDumper drlD
no in 3.0 version unfortunately. You can tell the parser to print out the
DRL - but it will just write it out the System.out (only for debuggin). Look
in RuleParser for that option.
In trunk - which will be the new version - there is a seperate step which
outputs DRL - but I don't think that made
Is there anyway to get the DRL syntax out of the DSL format?
Is there any Convenient API method Which takes rule in DSL format and the
DSL File Name as arguments and returns the DRL Syntax ?
--
View this message in context:
http://www.nabble.com/DSL-to-DRL-File-Conversion---Is-it-possible---t