Whirl

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Whirl is an esoteric programming language invented by Sean Heber (2004), with only two instructions, 0 and 1. These instructions rotate the Operations Ring and the Maths Ring, each of which has 12 sectors. The language therefore has 24 actual commands. The task of remembering the current orientation of each ring is left to the programmer.

An example program that reads two integers from standard input, adds them together, and prints the result:

0110010000110001100010011001100011110000011100

Whirl is an example of a turning tarpit.

See also

External resources