You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: meetings/2023/notes-2023-12-11.md
+60-1Lines changed: 60 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,35 +44,57 @@ EAO - look at PR, gist link as to how it applies to CLDR data
44
44
#557
45
45
46
46
APP - Design doc on beautify contest, name for default selector. Issue open for a while
47
+
47
48
APP - Temperature check on options?
48
49
49
50
EAO - if dealing with numbers, we have an option comping up. For Date comparison, treating as a string, this could work if we don’t have a date specific option.
50
51
51
52
ECH - string comparison is lowest common denominator of comparison. Can always stringify and compare.
53
+
52
54
APP - String is the chosen option with lack of objection
55
+
53
56
EAO - calling it default is a bit misleading, Should we allow “string” to be a formatter as well as a selector. We explicitly do a format to string formatter.
54
57
55
58
#545
56
59
57
60
APP - some disagreement in comments. Do we want to do this?
61
+
58
62
STA - 2 reasons to open PR - 1) some implementation would choose to have a unresolved type. 2) original reason for adding this line no longer holds up.
63
+
59
64
EAO - would undefined be an acceptable value to use for this?
65
+
60
66
STA - maybe, depending if undefined has a fallback option.
67
+
61
68
EAO - how would MF logic detect if it is not defined
69
+
62
70
STA - why would functions not see all the options passed to them?
71
+
63
72
APP - removing this might be OK, take any options that fail to resolve a value, remove them. This takes away the need for that preprocessing step. Do we need to specify with happens, or let implementations deal with it?
73
+
64
74
EAO, in javascript makes custom functions harder to define. Prefer keeping language as it is. But won’t push back harder.
75
+
65
76
STA - testing custom functions across implementations may not be possible anyway. Should have access to options that user intended to pass, but didn’t resolve correctly.
77
+
66
78
RGN - can’t support options that are impossible to specify.
79
+
67
80
EAO - doen’t we get into a situation where the fallback value is what we end up specifying.
81
+
68
82
APP - propose permitting implementation to do what it wants, remove requirement that undefined options are removed from map. Not sure how we test it.
83
+
69
84
EAO - current option with removal can be tested.
85
+
70
86
RGN - original point was for the collection of steps to be coherent when parsing message
87
+
71
88
EAO - previous versions of spec was different wording but same effect, unspecified values would not be in map. Point was for both unspecified value and duplicate value errors get thrown. About clearly defining custom function interfaces, by assuming options would be unwrapped primitives.
89
+
72
90
STA - sounds like original spec was about order, remove invalid options, check for duplicates. Now we check for duplicates, then remove invalid options. What behavior do we want. Do we want to replicate javascript - not passing value, and passing undefined value is the same?
91
+
73
92
RGN - need to be distinct from anything specifiable in message. Algorithm doesn’t make sense if there is not a way to resolve an unspecified option. Just removing step 4 doesn’t work. We need to specify expectations of implementations.
93
+
74
94
APP - try to ensure we detect duplicate options, and detect when required value is not provided. Specify case when there is a duplicate, but one value is not defined.
95
+
75
96
EAO - request to STA - add a description to PR of user story arguing for use case to show value of proposal - realish scenario where leaving the value out makes sense.
97
+
76
98
STA - possible use case: function requires option foo. Someone passes foo = $var. Fails to resolve. Error says foo not passed because of runtime failure.
77
99
EAO as long a language allows js to use undefined as sentinel value, then can support
78
100
@@ -92,55 +114,92 @@ Merged with consensus
92
114
#502
93
115
94
116
APP for a while. May be controversial. Discussion now.
117
+
95
118
EAO discuss later
96
119
97
120
#471
98
121
99
122
APP MIH had some comments. Any discussion?
123
+
100
124
APP change “exact” to “string”?
125
+
101
126
EAO - objects to changing to “string”, numbers are better defined from other types.
127
+
102
128
APP - additional to plural.
103
129
Merge, and if strong feelings, create a new PR
104
130
Merged
105
131
106
132
#438
107
133
108
134
Have a missing selector annotation error already. This adds additional verbiage
135
+
109
136
APP please have a look
137
+
110
138
EAO if anyone is interested in championing this PR, put a comment on it by next week. If not we close it.
111
139
112
140
## Spannables
141
+
113
142
We are together of #/ for spannables
143
+
114
144
\# is for both standalone and open.
145
+
115
146
STA design doc does not specify what we are trying to resolve. Should we specify that translations should include markup. Does not focus on tooling and protection. Important use cases
147
+
116
148
APP spent a fair time on use-case doc. This is a compromise syntax, where we do not accept operand on …
117
-
APP Implementation is allowed to disintegrate these, could be used for markup, XLIF tags. Distinct from true functions. Are we close to done? How do we solve standalone problem?
149
+
Implementation is allowed to disintegrate these, could be used for markup, XLIF tags. Distinct from true functions. Are we close to done? How do we solve standalone problem?
150
+
118
151
STA - a lot of this could be left to custom functions. Function to default to empty string makes ignorable, eg. Did we focus on a solution without understanding reasons?
152
+
119
153
STA standalone is key to puzzle. Do regular placeholders like $username count as standalone?
154
+
120
155
APP regular functions are not default ignorable. Different from “can be filtered” ABNF is inconsistent, has + and -
156
+
121
157
APP what is the feature we are building?
158
+
122
159
EAO - core use case for having proposed expression of markup is to be able to represent messages that have structure, contain spans with properties. Make sure we accurately present messages, can be formatted to parts without starting from scratch . Well served by current design? Come to consensus about standalone so we can merge this.
160
+
123
161
APP have a bunch of interesting use cases in doc, not wrong. Namespaces for markup and templating languages . goal is to write things as naturally as possible. Wants to get to closure to at least fix plus and minus in ABNF. Need a sigil for functions, or is two enough.
162
+
124
163
STA - avoids double parsing, not mentioned in doc? Concerned we are not fixing the right problem. If we say solution has to be better than just using functions.
164
+
125
165
MIH document why we decided to not use functions.
166
+
126
167
STA if we document why decision was made, even if it is “we ran out of time”.
168
+
127
169
APP concerns about why not use functions is valid. Nothing in spec prevents it. This gives a way to plug in support for spannable markup structure in a message without polluting function registry. Allows spannables in self contained non-function registry way.
170
+
128
171
MIH - why do we not have standalones now?
172
+
129
173
APP - opener can do the work of standalone, at least for html. Need syntactically distinct standalone. Do we want 2 sigils than three.
174
+
130
175
STA- would rather pollute the registry than the syntax stack. Don’t need a separate sigil. Can use #/
176
+
131
177
EAO - can we explicitly conclude standalone discussion? STA review use cases, and argue if further work needed?
178
+
132
179
STA can look at use cases after christmas
180
+
133
181
APP - proposal - APP goes through use cases, make summary of supported and unsupported use cases. EAO is concern that we have an open and close state for placeholders? Possible to melt spannables back into functions with sigils for open and close
182
+
134
183
EAO - would rather not go back to drawing board. No convincing story for why placeholder would need an operand. Makes it significantly more difficult to tell difference between markup and non-markup condition.
184
+
135
185
STA concerned that we say we forbid operands without saying why. Why decide to go away from plus and minus? Not well documented.
186
+
136
187
EAO approach from direction of starting having nothing, then having markup. Why should we have a sigil. Close to being able to complete discussion. Update use cases, agree on standalone, then lock this discussion down
188
+
137
189
ECH - appreciate effort to say we need to document, then document rationale.
190
+
138
191
EAO - resolved a way to proceed with open/close syntax. Only remaining ? is if we allow different syntax for standalone vs open/close.
192
+
139
193
STA - backwards. Open/close , standalone are too connected to decide one then the other. Wants to get feedback on #foo/ model. Also :html: namespace function call. Match with #html … / function call. Not sure what is better. Likes idea that regular placeholders and standalone.
194
+
140
195
EAO - observation, no matter what we decide, it will remain possible for a custom implementation/function to support {:html image}. Is sufficient to provide support for rarer use case for standalone content?
196
+
141
197
STA concerned about micro ? of syntaxes.
198
+
142
199
APP call out usecase satisfied by #/. Open question is # insufficient to meet standalone requirements?
200
+
143
201
EAO is we do have specific spannable syntax, would prefer that they are required to pair.
0 commit comments