Replies: 1 comment
-
|
You're right. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, while implementing the HW5, I think there is a wrong description about abstract semantics of
AssignHere is the abstract semantics of
Assign.The integer abstraction of the result of
evalis wrapped to the value abstraction and, it is updated to the memory.However, the result of
evalis not an integer abstraction any more.As we can see, the result of eval is already a value abstraction.
Therefore, I think the abstract semantics should be just updating the value of x to the result of eval.
If there is any thing wrong, let me know.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions