Draft: more work on the simulations for the gas file #678
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currentyl, the simulations are not working yet. Here are some things that still need to be done:
LowM.t
monad for links so that the errors are handled in a separate error monad. This should simplify some definitions, especially for the simulations that are built on top of it. In addition, we would be able to statically exclude the non-panic exceptions from the possible values returned by a function (break
,continue
, ...).LowM.Let
asLowM.LetAlloc
to make it more explicit.LetAlloc
for all the cases where we provide an explicitty
. There are such cases in the definition of the matching operators, that hence make one allocation too much. Fix it.interpreter
crate. We can admit all the loops for now, as well as not care about the aliasing. We will see how to properly isolate mutable references later.