Search

The Online Encyclopedia and Dictionary

 
     
 

Encyclopedia

Dictionary

Quotes

 

COW programming language

The COW programming language is an esoteric programming language created by Sean Heber. It is a brainfuck variant designed humorously with Bovinae in mind. COW has eleven instructions (three more than Brainfuck) and it's 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

See also

Similar languages:

External links

COW - Programming for Bovines

The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy