Skip to content
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

generate serializable function #35

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

achille-roussel
Copy link
Contributor

This PR modifies the compiler to generate a coroutine_functypes.go file in the package which contains the initialization of function types for all functions that the package contains.

I'm not sure if this is the model we'll want to use eventually, but it works well enough for now.

Note that this change does not yet add support for closures which capture free variables, this will be done in a follow up.

Signed-off-by: Achille Roussel <[email protected]>
@achille-roussel achille-roussel force-pushed the generate-serializable-functions branch from 643f2d5 to b3c3c69 Compare September 19, 2023 03:45
@achille-roussel achille-roussel merged commit 59fbe07 into main Sep 19, 2023
2 checks passed
@achille-roussel achille-roussel deleted the generate-serializable-functions branch September 19, 2023 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants