Hi,

I just wanted to check this. It appears that a comma is not valid in the
domain specific language. I can see that it is part of the syntax on the
expression but it should be valid in the domain specific language. ie)

In my dsl file I have the following

[when]There is something, that we want to check=String()
[then]Check it=System.out.println("Checked");

and the drl file

package testing

import java.lang.String

expander comma_test.dsl

rule "Comma test rule"

    when
        There is something, that we want to check
    then
        Check it
end

The comma causes the rule build to fail. It's probably not a big issue but
as your language library builds, you will probably want to introduce
punctuation for readability. If I remove the comma from the .dsl so that the
statement reads "There is something that we want to check" everything is
fine.

Reply via email to