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

Add instructions for error handling resuming #140

Open
zippy opened this issue Apr 14, 2016 · 1 comment
Open

Add instructions for error handling resuming #140

zippy opened this issue Apr 14, 2016 · 1 comment
Assignees
Labels

Comments

@zippy
Copy link
Owner

zippy commented Apr 14, 2016

when an error is caught by the error handler, it has to be able to restart the runtree at various points, i.e. from the root (which is like a "panic & return") or from the same point as the function that thew the error (with possibly some other value) or from some parent (or child) with a different value which acts as a RETRY.

@zippy
Copy link
Owner Author

zippy commented Apr 15, 2016

ca6be1f adds CONTINUE instruction, which acts like a kind of return, or goto, which allows you to restart reduction at any point in the tree

We still need to add error checking of some sort so that you can really only continue from valid places, i.e. a parent, and maybe a next child or something. Also if continuing from a flow-control spot, there may be some special cases to clean up.

@zippy zippy added partial and removed in progress labels Apr 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant