- From: Tab Atkins Jr. <notifications@github.com>
- Date: Wed, 16 Jul 2025 14:01:40 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 16 July 2025 21:01:44 UTC
tabatkins left a comment (whatwg/webidl#1504) > We cannot use the same name for the two different concepts, because then the grammar is ambiguous (not LL(1)): you don't know whether you're parsing a declaration or a type until after you see the next token. Ahhh, I didn't realize *that* was actually the grammar issue. That makes sense! Then yeah, I think using `async_sequence` for the value type would make a lot of sense, to pull it farther away. We should *probably* be consistent in underscore use between the two instances, I guess? I'd be fine with `async_iterator` for the interface declaration, but is the other way possible? Does `async sequence<...>` violate LL(1)? (I think either way is fine.) @saschanaz I can do the change, if we know what we're agreeing to. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1504#issuecomment-3080701145 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1504/3080701145@github.com>
Received on Wednesday, 16 July 2025 21:01:44 UTC