Skip to main content

Epic Brainfuck Interpreter

Project description

Package Overview

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

EPIC BRAINFUCK


Motivation

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!


Documentation

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


Download files

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

Source Distribution

brainfuck-1.0.1.zip (16.0 kB view details)

Uploaded Source

File details

Details for the file brainfuck-1.0.1.zip.

File metadata

  • Download URL: brainfuck-1.0.1.zip
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for brainfuck-1.0.1.zip
Algorithm Hash digest
SHA256 827396759489e97d70365fe4c1e6c875f17eff8bfc12336b2f338efdc2afabd8
MD5 769b10aa51e477fa8e1c6becd9bf4435
BLAKE2b-256 47cd611a3391e788aacc9c32f7a4ea0ae7f63ac675469efcaaf9367406adaa09

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page