The Funge Family

Befunge Basics

The core ideas of Befunge: playfield, stack and instructions.

Common Beginner Mistakes in Befunge

The errors new Befunge programmers hit most often, from wrong pointer direction and stack order to missing end markers, each with a simple fix.

4 min read

The Befunge Instruction Set Explained

A tour of the single-character Befunge commands, grouped into movement, arithmetic, stack, decisions, memory and input and output, with short examples.

4 min read

The Stack and the Playfield in Befunge

Befunge keeps values on a stack and code on a grid. Learn what each area does, how the g and p commands connect them, and where they can clash.

4 min read

Tracing a Befunge Program by Hand

Learn a simple table method for following the pointer, direction and stack through a Befunge program, with a worked example you can check yourself.

4 min read

Writing Hello World in Befunge

Build a Befunge Hello World program step by step, and see why text is pushed onto the stack in reverse before a small loop prints it back out.

4 min read

Related topics

More in the funge family