We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Deadfish&

From Esolang
Jump to navigation Jump to search

deadfish& is a combination of & and deadfish. That is, it is the same deadfish, but it will not run if it exists.

python interpreter

a = 0

try:
    a
    raise SyntaxError("This esolang exists")
except NameError:
    a = 0
    for c in input():
        if c == "i":
            a += 1
        if c == "d":
            a -= 1
        if c == "s":
            a *= a
        if c == "o":
            print(a)
        if a < 0 or a > 255:
            a = 0

see also