COW

From Esolang
Revision as of 16:11, 24 November 2010 by Keymaker (talk | contribs) (Reverted edits by Onybasoceh (Talk); changed back to last version by 195.5.95.34)
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