Skip to content

Explicit precedence of expressions #3

@stasm

Description

@stasm

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions