Welcome to Regenerate! This is my first programming language! Commands: set var expr Store an expression into a variable. (Variables can contain only numbers.) inp var Inputs an expression into a variable. print text Print text to the console. Write something like #x# to insert a value. clear Clears the screen. label x A label. goto label Jumps to a label denoted. gotoif label expr1 </>/= expr2 If condition is true, goto label. wait x Waits for x seconds. Math: + - * / (^ or **) % // Basic operators (% is mod, // divides and throws away the remainder). abs log ln sin cos tan asin acos atan floor round ceil max min sqrt Advanced functions. Pen commands: fd/bk x Goes forward/back x steps. lt/rt x Turns left or right x degrees. up/down Pen up or down. erase Erase all pen trails. text size x Print the text of corresponding size. You can also use #v# etc to write a variable.
Expression evaluator by @atas05 NOTE: I have, at some point, added <, > and = operators (true is 1 and false is 0), but as they are buggy as (redacted), there were removed and put back into the gotoif statement..