[Olympus developers 127]: Re: a Question about RCTSL grammar mapping

Thomas Harris tkharris at gmail.com
Thu Apr 30 08:03:51 EDT 2009


I don't think that there's any need for two ![date] items. Also, it looks
like you're missing a comma after the first ![date]. The way the line
continuation and quotes are interpreted, I think what you have below is
equivalent to:

GRAMMAR_MAPPING("[month], ![date][day], ![date]")

-Thomas

On Thu, Apr 30, 2009 at 3:10 AM, Yasaman Sefidgar <
yasaman.sefidgar at gmail.com> wrote:

> Hi,
>
> I have defined a concept type with some items like this:
> INT_ITEM(month)
> INT_ITEM(day)
>
> at the grammar mapping part, I have written like this:
> GRAMMAR_MAPPING("[month], ![date]"\
>                                    "[day], ![date]")
>
> it is possible in my task that either month or day be specified by user.
> when I start a session and I don't specify both day and month, the grammar
> mapping is not done successfully and the system asks me its request again.
> what should I do to solve this problem?
>
> Best Regards
> Yasaman Sefidgar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/olympus-developers/attachments/20090430/048e811a/attachment.html


More information about the Olympus-developers mailing list