Whirl
From Free net encyclopedia
(Redirected from Whirl programming language)
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.
[edit]
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
[edit]