Re: [css-values] The last grammar combinator - 1+ in order

On Wed, Apr 23, 2014 at 7:16 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Thu, Apr 17, 2014 at 5:27 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> We're currently missing a grammar combinator in CSS's property grammar syntax.
>>
>> We can express "exactly one" as "a | b", and we can express 5 of the 6
>> possibilities in {0+, 1+, all}×{in order, any order}* .  The one thing
>> we're missing is "1+, in order", which we can't write without
>> duplication and honestly confusing grammar.
>
> More syntax possibilities:
>
> * A // combinator - it looks similar to ||, which is good, because
> they both occupy the "1+" row in the table.

I think zcorpan offhand-suggested this in chat: a >> combinator.  It
seems to indicate that ordering is important, which is nice.

~TJ

Received on Thursday, 24 April 2014 15:11:37 UTC