[sc34wg3] TMQL: Grammar -- "predicate-invocation"
Robert Barta
rho at devc.at
Tue Jul 1 10:57:05 EDT 2008
On Tue, Jul 01, 2008 at 02:40:51PM +0200, Lars Heuer wrote:
> Hi Robert,
>
> [...]
> > <> means "at least one, separated by ,"
>
> Aha, but <> is nowhere explained. It would be nice if the info that <>
> implies a comma is made explicit somewhere.
http://kill.devc.at/system/files/tmql.html#id2253273
3.1.2
> I do not understand, why
>
> [ ',' ] [ '...']
>
> occurs in that production.
> Is
>
> member-of(member: $m, )
>
> the same as
>
> member-of(member: $m ...)
>
> and the same as
>
> member-of(member: $m, ...)
No, not the same.
member-of(member: $m, )
is semantically the same as
member-of(member: $m)
And
member-of(member: $m, ...)
the same as
member-of(member: $m ...)
--
I personally would also be happy with having only
member-of(member: $m, ...)
i.e. to change the syntax to
anchor '(' < anchor ':' value-expression > [ ',' '...' ] ')'
\rho
More information about the sc34wg3
mailing list