Skip to content

Update all examples, and the lt for the type, to the new underscore'd token #1500

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

Merged
merged 4 commits into from
Jul 22, 2025

Conversation

tabatkins
Copy link
Contributor

@tabatkins tabatkins commented Jul 11, 2025

This changes the async_iterable<> type to async_sequence<>, to avoid confusion with the interface declaration, and change the async iterable<> interface declaration to async_iterable<>, to avoid future LL(1) issues.


Preview | Diff

Copy link
Member

@saschanaz saschanaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tabatkins
Copy link
Contributor Author

Thanks for catching that I'd accidentally caught some of the iterable declarations. Reverted back.

Changed over to async sequence<>, per discussion in #1504. Edits got a lot bigger, since I changed terminology across the spec to match.

@tabatkins
Copy link
Contributor Author

Ughhhh, no, this still violates LL(1). I misread the restriction - it's not that an entire production can't be a prefix to another production, it's that no two productions in an alternative can share a prefix.

Guess it'll have to be async_sequence<>, then. :(

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domenic @MattiasBuelens any final thoughts? Changes look reasonable to me.

Copy link
Contributor

@MattiasBuelens MattiasBuelens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

So we landed on async_sequence<T> for the type (with underscore) and async iterable<T> for the declaration (with space)?

@annevk
Copy link
Member

annevk commented Jul 18, 2025

Ah, I suggested making both use underscores in #1504. I don't think @tabatkins has had a chance to see that yet.

@tabatkins
Copy link
Contributor Author

All right, updated to make both use underscores - async_iterable<> for the interface declarations, and async_sequence<> for the type.

@annevk
Copy link
Member

annevk commented Jul 21, 2025

We should probably include the PR template now. I suspect we can mostly reuse #1489 except if bugs have already been fixed.

There's also a build failure remaining.

@tabatkins
Copy link
Contributor Author

Right, now that this PR isn't just a typo fix but an actual change, let's fill in the boilerplate properly. ^_^ Done.

The build failure will also go away if you kick it; Bikeshed updated its data files to prevent this issue.

@annevk annevk merged commit a8b10f5 into whatwg:main Jul 22, 2025
2 of 3 checks passed
dontcallmedom added a commit to w3c/reffy that referenced this pull request Jul 23, 2025
dontcallmedom added a commit to w3c/reffy that referenced this pull request Jul 23, 2025
tidoust pushed a commit to w3c/reffy that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants