False machine
Jump to navigation
Jump to search
A False machine is an inversion of the Truth machine which outputs a singular 1 if the input is 1, and outputs 0 forever otherwise. An exact creator is unknown (likely a multiple invention), however it's theorized to be created by User:Truttle1.
- Ask for input.
- If the input is 1:
- Output 1.
- Terminate program.
- Whereas if the input is 0:
- Repeat infinitely:
- Output 0.
- Repeat infinitely:
Implementations
Lua
x=io.read()for i=1,1/x do print(x)end
Mathlang
≈T T<1(2<3(=0))(=1≠)
False
B^48-[$0=][$.]#.
presented by User:Truttle1 in https://www.youtube.com/watch?v=4MEuj6eu6KE
<><
i68*->>0v $:n:v >1> >:n<>@_=?!;
addapted from the maybe machine code.