0

From Esolang
Jump to navigation Jump to search

Instructions

0 - calculates 0

Note that it is somewhat ambiguous what 'calculate' means. Moreover, presumably [INSTRUCTION OTHER THAN ZERO] is UB, but this is unspecified.

Programs

Quine

0

IQ Test

0

Implementations

Haskell

main=interact(\('0':_)->show 0)

Alternative implementation:

main=print 0

Shell

Interpret a file:

cat

Interpret a command-line argument:

echo

Alternative implementation:

yes 0

Struffoli

59536$00000000@@0@0@!0

Text

0

Python

print(0)

Befunge

0.@

Deadfish/eafh

o

FlipFlop

PE

G#

make main; [
    print(0,\n)
]

15 or 35

#