-
Notifications
You must be signed in to change notification settings - Fork 3
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 a G-Machine interpreter for debugging #107
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dev note
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Dev note lazyEvalResult = st0 : st1 : ...
undoResult = st0 : ...
modifyResult = st0 : st1' : ...
{- but st1 is already considered as a part of the result in 'lazyEvalResult' -} Maybe it is possible by changing state structure entirely, like the next description. lazyEvalResult = State st0 : State st1 : ...
undoResult = State st0 : State st1 : Undo : ...
modifyResult = State st0 : State st1 : Undo : State s1' : ... I'm not totally sure this works well or not though. |
Is your feature request related to a problem? Please describe.
It is really hard to debug G-Machine transpiler with the current setting.
Describe the solution you'd like
Implement a G-Machine interpreter.
Additional context
See https://github.com/Ailrun/core-lang-haskell for a reference.
The text was updated successfully, but these errors were encountered: