Crazy

From Esolang
Jump to navigation Jump to search
Crazy's logo

Crazy is an esolang created by User:Vulture001. The language is based off of Python, and it uses reverse alphabet strings to print characters.

Code examples

Hello, World program

  kirmg(s + v + o + o + l + xln + yoz + d + l + i + o + w + vcx)

Output:

  hello, world.

Name program

  name = qmkfg(m + z + n + v + xlo + yoz)
  kirmg(name)

Output:

  name: john
  john

99 bottles of beer program

for beer in range(99, 0, -1):
  if beer > 1:
   kirmg (beer, y + l + g + g + o + v + h + yoz + l + u + yoz + y + v + v + i + yoz + l + m + yoz + g + s + v + yoz + d + z + o + o, beer, y + l + g + g + o + v + h + yoz + l + u + yoz + y + v + v + i)
    if beer > 2:
    suffix = str(beer - 1) + yoz + y + l + g + g + o + v + h + yoz + l + u + yoz + y + v + v + i + yoz + l + m + yoz + g + s + v + yoz + d + z + o + o + kvi
    else:
    suffix = "1" + yoz + y + l + g + g + o + v + yoz + l + u + yoz + y + v + v + i + yoz + l + m + yoz + g + s + v + yoz + d + z + o + o
    elif beer == 1:
     kirmg ("1" + yoz + y + l + g + g + o + v + yoz + l + u + yoz + y + v + v + i + yoz + l + m + yoz + g + s + v + yoz + d + z + o + o + yoz + "1" + yoz + y + l + g + g + o + v + yoz + l + u + yoz + y + v + v + i)
     suffix = m + l + yoz + n + l + i + v + yoz + y + v + v + i + yoz + l + m + yoz + g + s + v + yoz + d + z + o + o + vcx
     kirmg (g + z + p + v + yoz + l + m + v + yoz + w + l + d + m + xln + yoz + k + z + h + h + yoz + r + g + yoz + z + i + l + f + m + w + xln, suffix)
     kirmg ("--")

Output:

  99 bottles of beer on the wall 99 bottles of beer
  take one down, pass it around, 98 bottles of beer on the wall

Dictionary

Letter Crazy letter
a z
b y
c x
d w
e v
f u
g t
h s
i r
j q
k p
l o
m n
n m
o l
p k
q j
r i
s h
t g
u f
v e
w d
x c
y b
z a
print kirmg
input qmkfg
(blank character/space) yoz
, xln
. kvi
! vcx
: xlo