Science Fair Project Encyclopedia
Whirl
Whirl is an esoteric programming language created by Sean Heber. 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:
011000001111000011111000001111000011111000001111000 011111000001100100000110011111000111000111100011001 11000000000111110001000111110011001111100010001100
See also
Similar languages:
External links
Whirl - Dizzy Programming
Whirl version of 'Hello World' by The Slarty
Last updated: 10-15-2005 10:00:01
10-26-2009 08:16:03
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details


