So i need to white an Adder REPL.
Instructions are as follows:
quit: Exit the REPL or terminate a program.
input var: Prompt for and allow the user to enter a value for the variable named var
print val: Print the value val
var gets val: variable var is assigned the value val
var adds val: variable var has the value val added to it.
Can someone point me in the right direction? As I'm absolutely clueless at where to start.
Instructions are as follows:
quit: Exit the REPL or terminate a program.
input var: Prompt for and allow the user to enter a value for the variable named var
print val: Print the value val
var gets val: variable var is assigned the value val
var adds val: variable var has the value val added to it.
Can someone point me in the right direction? As I'm absolutely clueless at where to start.