UPDATE: Major bugfix, it will hopefully run as intended! Kudos to @3006268 for finding the bugs and helping improve the code! TREMBLE YE MORTALS, THE WORST PROGRAMMING LANGUAGE EVER CONCEIVED BY HUMANITY, THE ULTIMATE OBILERATOR OF BRAIN CELLS! Example code loaded. To edit, edit "comms" list directly. NOTE-Calculator code is ported from remix, credit to @3006268
ONLY 1 COMMAND PER LINE! The first letter of the command decides its function. Below are all functions and respective examples. -------------------------------------------- ia: create a variable named "a" <EXAMPLES> ib #Creates a variable named "b" i@ #Creates a variable named "@" #Theoratically all Unicode characters can be variable names. -------------------------------------------- sab: set variable a to string b <EXAMPLES> ia saSUSSY BAKA #Sets a to the string "SUSSY BAKA" ir sr69 #Sets r to the number 69 ia ib sa10 sba #Sets b to the string "a", instead of setting b to the value of a. -------------------------------------------- +abc: set variable a to variable b added by variable c. <EXAMPLE> ia ib ic sa1 sb2 +cab c to a+b, which is 1+2 or 3 -------------------------------------------- -abc: set variable a to variable b subtracted by variable c. <EXAMPLE> ia ib ic sa2 sb1 -cab c to a subtracted by b -------------------------------------------- *abc: set variable a to variable b multiplied by variable c. <EXAMPLE> ia ib ic sa2 sb2 *cab c to a multiplied by b -------------------------------------------- /abc: set variable a to variable b divided by variable c <EXAMPLE> ia ib ic sa69 sb0 /cab the laws of the universe -------------------------------------------- ?abc: if (variable b)(boolean operator a)(boolean operator c) is false, the next line is skipped. Boolean operators supported are <,> and = <EXAMPLES> ia ib sa69 sb96 ?<ab pa line 6 since a is smaller than b ia ib sa0 sb0.1 ?=ab sa69 pa output is 0. The program skips line 6 since the condition a=b is not met. -------------------------------------------- _: stops everything. <EXAMPLE> _ ia sa69 pa happens as the code ends itself at the first line -------------------------------------------- ga: go to line a <EXAMPLE> ia sa69 pa g3 the console. -------------------------------------------- da: delay for (a/10) seconds <EXAMPLE> ia sa10 da pa program delays for 1 second. -------------------------------------------- pa: print variable a <EXAMPLE> ia saAMOGUS SUS pa -------------------------------------------- qab: ask variable b, set variable a to answer EXAMPLE ia ib sb(Enter a number) qab "(Enter a number)" and sets a to the answer -------------------------------------------- rabc: Sets a to pick random b to c -------------------------------------------- ~abc: Sets a to join strings bc -------------------------------------------- !a: Compiles and runs a as a SusScript program. <EXAMPLE> ia sapa !a console will print the value of variable a. At line 3, the ! command compiles the value of a as a SusScript program ("pa") and subsequently prints the value of a. -------------------------------------------- #: Comment