COW

From Esolang
Revision as of 02:34, 14 November 2014 by Oerjan (talk | contribs) (etc.)
Jump to navigation Jump to search

The COW programming language is an esoteric programming language created by Sean Heber in 2003. It is a Brainfuck variant designed humorously with Bovinae in mind. COW has twelve instructions (four more than Brainfuck) and is Turing-complete. Most instructions are moos, only the capitalization varies: mOo, moO, mOO, Moo, and so on. MMM, OOO, oom and OOM are the exceptions. All other character combinations are ignored and treated as comments.

Sample code

Here is the code required to generate the Fibonacci sequence:

 MoO moO MoO mOo MOO OOM MMM moO moO
 MMM mOo mOo moO MMM mOo MMM moO moO
 MOO MOo mOo MoO moO moo mOo mOo moo

See also

Similar languages:

External resources

COW - Programming For Bovines (from the Wayback Machine; retrieved on 3 April 2013)