CMC logo Cave Man Code

This is the home of the friendliest real programming language on the internet. CMC was built so that a brand new coder -- even a four year old sitting on a lap -- can say "make the computer talk" in the first minute, and still be learning clever things years later.

What is Cave Man Code?

Cave Man Code (CMC, say "see-em-see") is a small programming language where the words sound like a cave person invented them:

ugg This is a note. Ugg means "ignore this line".
oga "Ooga booga!"

grunk rocks = 3
booga rocks
    oga "bang rock", lap
unga

That is already a real program with a loop in it.

Why is it easy?

OOGA! Line 4: A block was opened but never closed. and tells you the fix.

words. They are the same language underneath.

extra libraries.

Why is it not a toy?

Under the simple words, CMC has numbers (int and decimal), text, lists (called piles), booleans (gronk and nork), functions (clumps), recursion, comprehension-style list loops, random numbers, and drawing. If you know Python, the built-in cmc compile turns any CMC program into readable Python.

Where to go next

A taste of the drawing power

skrib size 400, 400
skrib color "gold"

booga 12
    skrib line 200, 200, 200 + lap * 30, 20
unga
oga "Sun rays drawn!"