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

Lisp-style signals #24

Open
Mercerenies opened this issue Mar 21, 2018 · 1 comment
Open

Lisp-style signals #24

Mercerenies opened this issue Mar 21, 2018 · 1 comment

Comments

@Mercerenies
Copy link
Owner

We have a nice exception system, and it could probably be extended to support this.

When an exception is thrown, the handlers are queued onto the call stack, followed by a termination instruction. If we don't queue the termination instruction, we could "handle" an exception and then resume code.

The main issue is preserving the general-purpose registers (and possibly some other register info) when we do this.

@Mercerenies
Copy link
Owner Author

This may be complicated by the IntState / TransientState split in 717f33d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant