Odasjoi

From Esolang
Jump to navigation Jump to search

Odasjoi (say "oe-DAS-joy") is an esolang invented by User:None1. Its name is chosen by smashing random keys, its commands are, too.

Commands

Commands must be separated by line feeds and are case insensitive.

fowdif Increase the accumulator
wekeww Decrease the accumulator
woiejd Input the accumulator (as decimal)
doqije Output the accumulator (as decimal)
iwejdo If the accumulator is 0, halt
oweijw Execute the remaining commands infinitely

The accumulator can store signed decimal integers.

Examples

Truth Machine

woiejd
doqije
iwejdo
oweijw
doqije

Decimal cat

oweijw
woiejd
doqije

XKCD Random Number

fowdif
fowdif
fowdif
fowdif
doqije

Infinite loop

oweijw