DOCUMENTATION

67 in five minutes.

67 is a tiny interpreted language. It has variables, printing, one kind of loop, and a handful of operators. That’s the whole thing.

Run it

There are three ways to run 67:

1. Run a file

python 67.py program.67

2. Start the REPL

Run python 67.py with no file. Type lines at 67>. To open a 6767 block, end a line with : — the prompt switches to ... and a blank line runs what you typed. Ctrl-D to dip.

3. Right here in the browser

The playground runs the exact same language, compiled to JavaScript so it executes fully client-side.

The whole language

SyntaxWhat it does
bruh x is <expr>Make a variable (or replace one) and give it a value. bruh and is both have brainrot aliases, see below.
67(<expr>)Print a value, then a newline.
6767 <cond>:Loop while the condition is true. The body is the indented block underneath (spaces, not tabs).
shaddup ...A comment — everything to the end of the line is ignored.

Yes — 67 and 6767 are just numbers. They only mean “print” and “loop” when they start a line. Anywhere inside an expression they’re ordinary values, so 67(6767 + 1) happily prints 6768.

Say it how you want

Variable lines code like you talk, so the two words in bruh x is <expr> each have stand-ins you can swap in freely. They’re all the exact same keyword:

SlotWrite any of
bruh (start a variable)bruh · gng · twin
is (give it a value)is · fr · deadahh

Mix and match — these all do the same thing:

bruh score is 67
gng score fr 67
twin score deadahh 67

Values

Two types: whole numbers (1, 42, 6767) and "strings" in double quotes.

Operators

OperatorsNotes
+ - * / %Maths on numbers. / is whole-number (floor) division and % is the remainder — both refuse to divide by zero.
+ on textJoins two strings: "six " + "seven" six seven.
* on textRepeats a string: "yo" * 3 yoyoyo.
< > == != <= >=Comparisons. They give back 1 for true and 0 for false.

Truthiness

A 6767 loop keeps going while its condition is “truthy”: any number that isn’t 0, or any string that isn’t empty.

A worked example

Count from 1 to 10 and print the running total:

bruh n is 1
bruh total is 0
6767 n < 11:
    bruh total is total + n
    bruh n is n + 1
67(total)        shaddup prints 55

Nested loops work too — a loop inside a loop, bruh:

bruh i is 1
6767 i <= 3:
    bruh j is 1
    6767 j <= 3:
        67(i * j)
        bruh j is j + 1
    67("---")
    bruh i is i + 1

When 67 complains

Errors are friendly and point at the line. No scary stack traces — just 67 telling you what’s up:

bruh, I've never met 'x'.
bruh, you can't divide by zero.
Line 3: 6767 wants an indented block under it (got the number 67).
← back home