COW programming language

From Free net encyclopedia

The COW programming language is an esoteric programming language created by Sean Heber (2003). It is a brainfuck variant designed humorously with Bovinae in mind. COW has eleven instructions (three more than Brainfuck) and is Turing-complete. The instructions are all moos, only the capitalization varies: mOo, moO, mOO, Moo, and so on. MMM, OOO, and oom are the only 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

External link