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.

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