-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Possible syntax:
main() {
a -> 2
}
---
higherInStack() {
b -> 3
}
Step 2 of this diagram should look equivalent to:
http://web.mit.edu/dwhatley/www/snapdown/web/production.html#higherInStack()%20%7B%0Ab%20-%3E%203%0A%7D%0Amain()%20%7B%0Aa%20-%3E%202%0A%7D
This might be unintuitive, though. In the multi-step version, the stack frames look to be introduced in "reverse" order that they are presented in the final diagram. Need a way to resolve.
Proposed syntax for removing stack frames:
main() {
a -> 2
}
---
higherInStack() {
b -> 3
}
---
higherInStack() returns
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request