Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Discover and integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
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
{{ message }}
swiftlang
/
swift
Public
Notifications
You must be signed in to change notification settings
Fork
10.6k
Star
69.3k
Code
Issues
5k+
Pull requests
1.2k
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Security
Insights
Code
Add AST representation for coroutines
#78508
Code
Draft
asl
wants to merge 18 commits into
main
swiftlang/swift:main
from
coro-ast
swiftlang/swift:coro-ast
Copy head branch name to clipboard
Conversation
Commits
18
(18)
Checks
Files changed
Draft
Add AST representation for coroutines
#78508
asl
wants to merge 18 commits into
main
swiftlang/swift:main
from
coro-ast
swiftlang/swift:coro-ast
Copy head branch name to clipboard
Commits
Commits on Sep 10, 2025
Add basic boilerplate for AST coroutines and yields
asl
committed
d124554
Copy full SHA for d124554
Commits on Sep 12, 2025
First cut of making coroutine AST type
asl
committed
58bfe07
Copy full SHA for 58bfe07
Add parsing of @yield_once and @yields attributes and corresponding type checks
asl
committed
9acaa14
Copy full SHA for 9acaa14
Properly substitute coroutines
asl
committed
2ebe7bc
Copy full SHA for 2ebe7bc
Initial & rudimentary support for coroutine function types. Some fixes while here
asl
committed
4e1018d
Copy full SHA for 4e1018d
Remove now unnecessary special case
asl
committed
c49c3d9
Copy full SHA for c49c3d9
Unbreak tests after read / modify accessors added
asl
committed
f42b107
Copy full SHA for f42b107
Some fixes wrt generic coroutines
asl
committed
cd1fb77
Copy full SHA for cd1fb77
Handle end_apply results in RegionAnalyzer
asl
committed
e7cd1c5
Copy full SHA for e7cd1c5
Deconstruct Escapable check for coroutines with normal results
asl
committed
3320398
Copy full SHA for 3320398
Outline stdlib ABI changes wrt coroutines
asl
committed
16e40e6
Copy full SHA for 16e40e6
Allow custom _modify accessor derivative registration
asl
committed
e9ad117
Copy full SHA for e9ad117
Correct pullback type calculatio in presence of yields
asl
committed
d2289c5
Copy full SHA for d2289c5
Emit custom derivative thunks for coroutines
asl
committed
a268f83
Copy full SHA for a268f83
Add support for coroutine linear map thunks
asl
committed
f6eb061
Copy full SHA for f6eb061
Enable Array.subscript._modify differentiation
asl
committed
0fd46d1
Copy full SHA for 0fd46d1
Add end-to-end validation test involving array modify accessor differentiation
asl
committed
3e52062
Copy full SHA for 3e52062
Correctly terminate inner coroutine for custom vjps
asl
committed
8413073
Copy full SHA for 8413073
You can’t perform that action at this time.