WaifuScript

From Esolang
Jump to navigation Jump to search

WaifuScript is a joke esolang made by User:Juanp32.

anything in square brackets is placeholder. so "uwu a" is correct but "uwu [a]" isnt. so the correct label format is _text
command meaning
uwu [string] print [string]
:3 .X? declare variable .X
owo .X iz Y assign value Y to .X
~w~ iz .X?Y if .X ? Y then (? is placeholder, valid symbols: > < = != => =<)
it iznt!? T_T else
^_^ true
>.< false
its in _[label] uwu go to _[label]
were in _[label] now uwu set label
plz add/sub/mul/div/exp/mod X with Y uwu add/substract/etcetctheotheroperators value X with value Y
~ [text] ~ comment
send me stuff and put it in .X? input to .X
theres a block here uwu begin code block (put before the if conditional)
nvm it ended T_T end code block (put it after last line of the thing to do on the if-then/if-then-else statement)
-_- warn before quitting, freezes program until user input ("press any key")
^w^ reset all variables
thats all uwu, cya guys ~ quit program (without user prompt)