Adder is a small but usable subset of the Python language. It is named for the Blackadder comedy series, much as the Python language is named for Monty Python.
The interpreter should be able to handle basic variable assignment using identifiers, by implementing the corresponding semantic rule(s) to modify the free store.
[ ] Add a case to resultOf for AssignmentStmt. This should work very much like the AssignExp and AssignStmt implementation in the HOPL languages that include these.
@Marist-CMPT331-TOPL/students
The interpreter should be able to handle basic variable assignment using identifiers, by implementing the corresponding semantic rule(s) to modify the free store.
resultOf
forAssignmentStmt
. This should work very much like theAssignExp
andAssignStmt
implementation in the HOPL languages that include these.