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

refactor _p_step and reduce_sys_proc #146

Open
zippy opened this issue May 3, 2016 · 0 comments
Open

refactor _p_step and reduce_sys_proc #146

zippy opened this issue May 3, 2016 · 0 comments

Comments

@zippy
Copy link
Owner

zippy commented May 3, 2016

Currently there are a bunch of weird interaction between reduce_sys_proc and it caller _p_step. A bunch of the instructions are not strictly reductions (like COND, ITERATE, CONVERSE, INITIATE_PROTOCOL, etc) in that they manipulate the context. Thus we have a bunch of checks before the reduce_sys_proc call in which we use the pattern of allocating state data for the call (for different phases like in COND or ITERATE) and/or you see the meta-error: redoReduction.

This should all be rationalized and re-thought out into a clearer pattern. Including: errors thrown by instructions having more state information.

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

No branches or pull requests

1 participant