-
-
Notifications
You must be signed in to change notification settings - Fork 36
Preamble: unify local variable definitions and selectors? #252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@markusicu wrote in #230 (comment):
|
Comments migrated from the slidesSlides comment, Stanisław Małolepszy (@stasm), 1:42 AM Apr 26 Thanks for commenting on this. It makes me realize that we didn't explain this part of the preamble well during the presentation. All statements in the preamble are selectors, and some of them can optionally be bound to a local variable. In the example here, the preamble has a selector bound to $bar, which isn't used because the first and only variant always matches (it has no keys). Slides comment, Mihai Nita (@mihnita), 6:50 AM Apr 26 I don't think that is the problem. Slides comment, Mihai Nita (@mihnita), 6:56 AM Apr 26 Wait, you mean this does both?
|
Yeah, don't. Either define a variable, or specify a selector. Combining the two is very confusing. |
The idea to combine selectors and local variable definitions was an attempt to simplify the syntax and the grammar with the aim of making it a good starting point. The reasoning was that something very simple ("the lower bound of complexity", as I called it before) would lend itself better to extension through discussion. I recognize that this wasn't a good idea. It diverged from what all 3 proposals had envisioned earlier during the sessions with the CLDR TC, and introduced new problems related to larger localization workflows, like leveraging, as @mihnita explained in a meeting a few weeks ago. To summarize @mihnita's points:
So let's keep selectors separate from local variable definitions. I think this issue can be resolved (hence the |
Consensus : Local variables definitions and selectors should be separated |
Actually, this isn't fully completed, as the EBNF on |
No description provided.
The text was updated successfully, but these errors were encountered: