We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
■
- This is still a work in progress. It may be changed in the future.
- Not to be confused with █, nor ◼.
■ is an esoteric programming language based on box placement.
Execution
The program is just the initial state of the interpreter. That state is updated until it stops changing. It is also run in a 2D grid environment, like Befunge.
Elements
A program in this language has three elements: boxes, powers and machines.
Boxes
These are the main components in the program.
Every box has a weight (a floating point value) that determines how they are treated. There are four types of box:
| Symbol | Name | Weight |
|---|---|---|
| ■ | Normal Box | 1 |
| █ | Big Box | 2 |
| _ | Flat Box | 0.1 |
| ≡ | Variable Box | Starts at 0, but it can change |
Boxes are affected by gravity, so if the current state is:
| ■ | ■ |
| ■ | |
| ■ | ■ |
then the next state is:
| ■ | |
| ■ | ■ |
| ■ | ■ |