Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Epic Brainfuck Interpreter

Project description

Package Overview

You thought Brainfuck was bad? Think again. Get ready to meet…



Contrary to many other codebases, this repository is not just about writing yet

another Brainfuck compiler. Just search “brainfuck” on GitHub, and you’ll see

just how many people have already written compilers, and how many different languages

it has been written in. It’s incredible for a language so basic and rudimentary, how

much attention it has garnered over the years. Indeed, it is quite the brainteaser to

write stuff using only eight characters.

However, “brainteaser” is perhaps a euphemism for the language’s actual name, so I began

to think: how can I crank up the “brain-teasing” if you’d like and make this language even

more difficult to work with? The answer? Who said that > means ++ptr, where ptr points

to an “infinitely long” char array? Why can’t we use other characters to signify that? And who

said we needed to have concrete aliases for these bits of C code? This is where this

Brainfuck package deviates from most. Not only did I write an interpreter for

“traditional” Brainfuck code, but I also wrote several variants in which the syntax of

Brainfuck changes from interpretation to interpretation. Toss in some unexpected behaviors

(e.g. massive file write out of nowhere), and there you have it: EPIC Brainfuck shenanigans!


For more information about documentation, please click here. In addition, every provided Python

module has extensive documentation for each class and function defined.

Bugs and Features

Find a bug in the code? Want another feature added to the codebase? Submit an issue OR

feature request at this link here!

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (16.0 kB) Copy SHA256 hash SHA256 Source None Feb 5, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page