Calculator Programming Language

Use the provided box below to type out your program, and press "Run Code" to execute it. Press "Clear Editor" to clear the editor.

Output

store [varName] [value]: Creates a variable named [varName] and stores [value] in it.

remove [varName]: Removes the variable named [varName].

clone [sourceVar] [targetVar]: Sets the value of [targetVar] to the value of [sourceVar].

out [data]: Logs a message or expression into the output. Strings are wrapped in double quotes (" ") or single quotes (' ').

Operators include: +, -, *, /, and ^. You use an equals sign and then a variable name at the end of an expression by itself to store its value in the variable.