A coding language similar to the original solarscript, except with multi-term expressions (ex: 1 + 6 * 5 / 8 * 2 - 9 / 2) setting or declaring a variable is done as follows: (variable) = (variable, value, or expression) if statements are done as follows. checking if a variable is true or false: if 'x' (code) ifend checking if a variable is equal to a number or variable: if 'x' = (value, variable, or expression) (code) ifend repeat statements are done as follows: repeat (variable or integer) (code) repeatend This coding language does not support parentheses or exponents. something like 'x' = 1(24^2) will not work. functions and how they are planned to work: if output contains a keyword that isn't a real keyword. this program will look for a function (also remembering where it left off) when it finds a function with the correct keyword, it runs that code, then continues where it left off. note that functions are not supported yet. how expressions are processed: expressions are processed in the following order of operations: multiply or divide, then add or subtract. it will go through the expression recursively every time it performs an operation. this is true for setting variables as well as if statements. how loops work: when the program detects a loop, it will set the following variables. repeatgoal (how many times the project should repeat the code) repeatindex (how many times the project has repeated so far) and repeatmarker (where the project should start from when performing the code in the loop) how if statements work: When the project detects an if statement. it will check for the amount of words in the initial declaring of the if statement (if (condition)) if the length of output is 2, it knows that the if statement is checking if a variable is true or false, and performs accordingly. if the length is 4, it knows to check if the variable is equal to a given value. if the length is greater than 4, it knows to check if the variable is equal to an expression, processes said expression, then checks if the variable is equal to the result. TL:DR: look at the written code and try to follow what it says.
run in turbowarp lol https://turbowarp.org/682850952