Marist-CMPT331-TOPL / adder

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.
MIT License
0 stars 2 forks source link

WhileStmt Work #63

Closed DuncanMcLean closed 1 year ago

DuncanMcLean commented 1 year ago

I'm pretty confident this isn't 100% correct, please let me know what needs to be fixed or where I can find more information on it

DuncanMcLean commented 1 year ago

I made the updates you suggested, I looked at the CHECKED_STATEMENT language and tried to incorporate their implementation as you suggested.

DuncanMcLean commented 1 year ago

I pushed the code for the "else" components of the while statement as well.

DuncanMcLean commented 1 year ago

I made the changes you suggested, the only error I get an error for line 62 which says: "Not in scope: data constructor 'BoolVal'." I don't understand what causes this.