Whirl

From Free net encyclopedia

(Redirected from Whirl programming language)
For the flywheel of a spindle, see whorl.

Image:Whirl machine.png Whirl is an esoteric programming language created by Sean Heber (2004). Whirl has only two instructions: 0 and 1. These instructions rotate the Operations Ring and Maths Ring which both have 12 sectors. Thus the language actually has 24 commands. Remembering the current positions of the rings is left as an exercise for the programmer.

Sample code

As an example of Whirl's syntax, here is a small program which reads two integers from standard input, adds them together, and prints the result:

 0110010000110001111000100011110000011100

External links