IT lexicon › Programming › Befunge

Befunge

Programming På svenska → Updated: 2026-07-30

An esoteric programming language where the code is a grid and execution moves in all four directions.

Chris Pressey created it in 1993 with the stated goal of making a language as hard to compile as possible. The program sits in a two-dimensional field of 80×25 characters. An instruction pointer moves right by default, and the characters >, <, ^, v change direction. Computation happens on a stack.

Worse still: the p instruction writes a character back into the field, so a program can modify itself while running. That makes static analysis effectively impossible, which was exactly the intent.

← Back to the lexicon