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.

Idiot

From Esolang
Jump to navigation Jump to search

Idiot is an esolang created by User:None1, it is very stupid, but it can still write a cat program and a Truth Machine.

Syntax

It uses an accumulator.

<character> <commands>

If character is empty, then the command is executed no matter what, otherwise it is executed if and only if the accumulator equals to the ASCII value of the character.

Command

There are 3 commands, i, o and t.

i reads a character and stores its ASCII value into the accumulator.

o outputs the accumulator as a character.

t terminates the program, the program is executed all over again if it doesn't execute the t command.

Example Programs

Cat Program

io

Truth Machine (Needs non-interactive input)

i
0 ot
o