- This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by .
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:
Whirl is an example of a turning tarpit.
- Whirl: Dizzy Programming (from the Wayback Machine; retrieved on 16 January 2013)
- Blog post about a Whirl compiler written using LLVM