meow (tommyaweosme)

From Esolang
Jump to navigation Jump to search

meow is a language created by user:tommyaweosme.

commands

datatypes

cat - string
treat - number
toy - float
sleep - boolean
kitty() - convert to cat
feed() - convert to treat
play() - convert to toy
snore() - convert to sleep

loops

roar(x[pythoncompare]y): - if
mew(x[pythoncompare]y): - while
bark([statement]): - if statement is error
purr,: - else
purrr,(x[pythoncompare]y): - elif

other

(varname) = meow([pythonstatement]) - do math or whatever statement
meow() - print cat or whatever statement
dinner (commandname): - define command
pet - input (also works when defining variable)

examples

hello world

meow("hello world")

cat

meow(pet)

inficat

mew(1==1):
    meow(pet)

amo gus

whar = pet
roar(whar==amo):
    meow(gus)
purrr,(whar==gus):
    meow(amo)

truth machine

whar = pet
meow(whar)
snore(whar)
mew(whar):
    feed(whar)
    meow(whar)
    snore(whar)