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

Dynamic-wind #52

Merged
merged 3 commits into from
Dec 31, 2024
Merged

Dynamic-wind #52

merged 3 commits into from
Dec 31, 2024

Conversation

maplant
Copy link
Owner

@maplant maplant commented Dec 31, 2024

I believe that this is a correct implementation of dynamic wind.

Unfortunately, this implementation is hampered by the fact that I have to construct everything by hand, rather than have it develop naturally as would be possible with a CPS compiler implementation. So it might be subtly wrong, although I don't think it is.

Fortunately, this is one of the last major things that I need to implement before I can start moving from an interpreter to a compiler. Hopefully that will result in a much more elegant design for continuations.

@maplant maplant merged commit 518d1e2 into main Dec 31, 2024
1 check passed
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.

1 participant