Quantum Nothing

From Esolang
Jump to navigation Jump to search

This is an esolang created by islptng.

Quantum Something

Every program with non-digit characters is invalid. It runs the following code, which raises a Syntax Error:

+++++++++[->+++++++++<]>++.<++++++[->++++++<]>++.<+++[->---<]>--.++++++.<++++[->----<]>---.<++++[->++++<]>+++++++.<+++++++++[->---------<]>-------.<++++++[->++++++<]>+.<++++++[->++++++<]>+++++++++..---.+++.<

Otherwise, For every valid Brainfuck program of the given length, execute it once.

For length 1, 6: + - < > , .
For length 2, 37: ++ -- +- -+ << >> <> >< ,, .. ., ,. +> +< -> -< >+ >- <+ <- ,+ ,- ,> ,< .+ .- .> .< +, -, >, <, +. -. >. <. []
etc.

Quantum Nothing

Every program that has 1 byte or more executes this Quantum Something code:

a

Otherwise, for every valid Quantum Something code, execute it.