We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Truer machine
Jump to navigation
Jump to search
Truer machine is an esolang created by Infinitehexagon specifically designed to implement a truth machine.
Instructions
| Command | Description |
|---|---|
| i | Input string value |
| o | Output "true" indefinitely if the input / secret input is 1. Else output the string value inputted by the user. |
| 0 | Skip the next command. |
| ' | Halt program. |
| 1 | increment the secret input by 1 |
Programs
Cat program
io'
Truth machine
io
Infinite loop
1o
NOT gate(?)
i111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
1111111111111111111111111111111111111111111111111111111o'1
Hello world program
111111111111111111111111111111111111111111111111111111111111111111111111o11111111111111111111111111111o1111111o111111111111111111 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111o111o11111111111111 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111o