← Back to projects

LANGUAGES / INTERPRETERS

Brainfuck Interpreter.

complete

A compact Python interpreter for the Brainfuck esoteric programming language.

Systems2021Python / Interpreters

OVERVIEW

A small language implementation exploring instruction filtering, a byte-oriented tape, pointer movement and loop execution.

WHAT'S INSIDE

  • Filters source input to the eight Brainfuck commands.
  • Implements a wrapping tape pointer and 8-bit cells.
  • Supports input, output and loop execution.

BUILT WITH

PythonInterpreters

INTERACTIVE PLAYGROUND

Run Brainfuck in your browser.

Edit the program, provide input, and inspect the tape as the interpreter runs.

8 INSTRUCTIONS
PROGRAM.BFWhitespace and comments are ignored
STDOUTREADY
Your program output will appear here.
MEMORY TAPEPTR 000

200 wrapping cells · 8-bit values · 1,000,000 instruction safety limit

UNDER THE HOOD

Explore the source.

Browse selected files from the project's public GitHub repository without leaving this page.

OPEN REPOSITORY ↗
bfinterpreter.py
PYTHON VIEW FILE ↗
Loading source file…
CONNECTING TO GITHUB— LINES

Files load on demand from raw.githubusercontent.com and are displayed as text only. Large datasets, binaries and generated build artefacts are intentionally excluded from the preview.