COW
Twelve moos, read as whole words, over a row of memory cells and a register, with loops and character and number input and output.
Tested with 1 example and 1 known program · Hello World on Try It Online: identical · Test method
Run it
Hello World
Expected output
Hello, world!
Output
What it is
COW: twelve moos, read as whole words; loops and the register as in the reference interpreter (cow.cpp)
Read the story
Twelve moos read as whole words: moo mOo moO mOO Moo MOo MoO MOO OOO MMM OOM oom, as in the reference interpreter: loops, a memory of cells, a register, and character and number input and output.
How its machine works
Its machine has commands of several characters, a register beside its memory.
Quirks
- A run stops after 3,000,000 steps.
See also
COW builds on Brainfuck.
Pseudonatural
Brainfuck derivatives
Write your own in Run Convert a program from COW
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: cow.
Command line
shib run cow program.txtThe program is long; save it as program.txt first.
shib manual cowSource
- Module
langs/classic.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org