Goal
Give users more control when working with lists.
Description
We want to allow list-typed selectors in select-expression which would lead to ambiguous syntax in constructs like { LIST(foo, bar, baz -> … )}. A work-around currently exists:
{ LIST(foo, "{bar, baz -> … }")}
I suggest we introduce explicit syntax for grouping which will instruct the parser unambiguously about the order of expressions. The proposed syntax is { … } for grouping:
{ LIST(foo, {bar, baz -> … })}
Discussion
https://groups.google.com/forum/#!topic/mozilla.tools.l10n/YBNCSp7J0zU
Goal
Give users more control when working with lists.
Description
We want to allow list-typed selectors in
select-expressionwhich would lead to ambiguous syntax in constructs like{ LIST(foo, bar, baz -> … )}. A work-around currently exists:{ LIST(foo, "{bar, baz -> … }")}I suggest we introduce explicit syntax for grouping which will instruct the parser unambiguously about the order of expressions. The proposed syntax is
{ … }for grouping:{ LIST(foo, {bar, baz -> … })}Discussion
https://groups.google.com/forum/#!topic/mozilla.tools.l10n/YBNCSp7J0zU