im not mad at yayimhere anymore

From Esolang
Jump to navigation Jump to search

im not mad at yayimhere anymore is both an esolang and a public announcement by user:tommyaweosme

commands

yay "" - print string to screen
im n = o - declares a variable n to be o
n = o - sets n to o
n + o - sets n to n + o
n / o - sets n to n / o
n x o - sets n to n x o
n % o - sets n to n % o
n ! - sets n to its negative (9 -> -9)
n r - sets n to its reciprocal (9 -> 1/9)
here n < m[]: does whats in brackets if n < m
imhere - prints user input
yayim - waits 1 second
yayhere n < m[] - does whats in brackets while n < m

cat

yay imhere

hello world

yay "hello world!"

fibonacci

im first = 1
im second = 1
im third = 0
im counting = 1
yayhere counting < 200[
third = first
third + second
first = second
second = third
counting + 1
yay third]

truth machine

im input = imhere
yay input
here input < 2[
here 0 < input[
yayhere 1 < 50[
yay input]]]