deelang/demo/real.dee

19 lines
318 B
Plaintext

## Obligatory
fizzbuzz <- ->
loop over x in range(100)
if x % 15 = 0 print("fizzbuzz")
elif x % 3 = 0 print("fizz")
elif x % 5 = 0 print("buzz")
else print(x)
fizzbuzz()
print()
ack <- m -> n ->
if m = 0 n + 1
elif n = 0 ack(m - 1, 1)
else ack(m - 1, ack(m, n - 1))
print(ack(3, 4)) ## 125