esolang

Ooga Booga

LOLCODE in a cave. Strictly typed, and every integer type is named after a rock.

0xnullsect0r, 2026 · Turing complete: yes · ●○○ easy · esolangs.org

Tested with 5 known programs · Test method

Run it

Expected: Ooga Booga!

The idea

0xnullsect0r made Ooga Booga in 2026, after LOLCODE. Its compiler oogac turns a program into Rust and hands it to rustc. So under the cave words sits Rust's type system. ROCK is a 32-bit integer, TEENYPEBBLE an unsigned byte and HUGEROCK 128 bits wide, and a ROCK and a BIGROCK cannot be added. An overflow stops the program, as a Rust panic does in a plain rustc build.

The machine

One statement per line, and every block ends with UGHA.

WordsDoes
OOGA x: ROCK BE 5Declare a variable with its type
x GETS x PLUS 1Assign
SAY x HEAR namePrint a line; read a line into WORDS
IFF NOPE IFF NOPEIf, else if, else
UGGA WHILE c UGGA DOWhile loop; endless loop
STOP SKIPBreak; continue
MAGIC f(n: ROCK) -> ROCKDefine a function
GIVEBACK xReturn
OOFComment to the end of the line

The operators are PLUS MINUS TIMES DIVVY MOD, IS ISNT BIGGR SMALLR BIGGR IS SMALLR IS and AND OR NOT. PLUS joins strings too, after WORDY turns a number into one.

Example

The factorial from the specification.

The factorial from the specification. The literal 1 in GIVEBACK 1 takes the function's type, BIGROCK.

Expected: 5! = 120

A while loop, and integer division next to float division. Floats print as Rust prints them.

Expected: 0 1 2 3 4
Expected: 3 3.5 6

A TEENYPEBBLE holds 0 to 255. Adding 10 to 250 panics, so the last line never prints.

Expected: 250

Patterns it teaches

Further

Generated by AI

Write your own in Run Convert a program from Ooga Booga

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: ooga-booga.

Command line

shib run ooga-booga -e 'OOF Hello World in Ooga Booga!
OOF Cave creature greet the world.

OOGA greeting: WORDS BE "Ooga Booga! Cave greet world!"
SAY greeting
SAY "Much wow. Very caveman. So language."'
shib manual ooga-booga

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/ooga-booga.js

Docs: Kernel instructions · The .shib format · Command line · Adding a language

Source esolangs.org (CC0) · Edit on esolangs.org