Thanks. I have a feeling that it is due to antlr:
When you ahve a sentence

On 4/5/06, Paul Smith <[EMAIL PROTECTED]> wrote:
>
> Will do. I'll add the test case to the ones you have already.
>
> On 4/5/06, Michael Neale <[EMAIL PROTECTED]> wrote:
> >
> > can you put it in a JIRA - should be easy enough to take care of.
> >
> > On 4/5/06, Paul Smith <[EMAIL PROTECTED]> wrote:
> > >
> > > 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