0 bytes XD

From Esolang
Jump to navigation Jump to search
0 bytes XD
Designed by None1
Appeared in 2023
Dimensions zero-dimensional
Computational class unknown
Reference implementation See page
Influenced by 9 bytes :I
Influenced -5 bytes ;)
File extension(s)

0 bytes XD is an esolang by User:None1 and inspired by 9 bytes :I which is inspired by 13 bytes :D which is inspired by 16 bytes :P which is inspired by 25 bytes o:. 0 bytes XD effectively views truth machines as interpreters.

Syntax

There are 2 programs:

0

Outputs 0

1

Outputs 1 infinitely.

Behavior of programs other than 0 and 1 are undocumented.

Examples

Quine

0

Interpreter

The shortest interpreter in ™ type 3:


User:Nomad was here. And yes, I spent a whole minute writing this.

An interpreter in Node.js:

while (process.argv[2]?.[0]) process.stdout.write(1);    // Save to a file and call 'node <filename> <code>'

See also

  • The page Truth Machine, provides a long list of implementations of 0 bytes XD in other languages.