Skip to content

Vendicated/BrainfuckInterpreter

Repository files navigation

Ven's Brainfuck Interpreter

My Brainfuck implementation according to the spec described here https://en.wikipedia.org/wiki/Brainfuck#Language_design

Installation

The simplest way is to just grab precompiled binaries from the releases tab

From Source

  1. git clone https://github.com/Vendicated/BrainfuckInterpreter
  2. cd BrainfuckInterpreter
  3. sudo make install to install to /usr/local/bin or make install PREFIX=/custom/dir to install to /custom/dir/bin

Interpreter

This interprets any given Brainfuck code

Usage:

brainfuck decode [FILE | TEXT...]

Example:

$ brainfuck decode samples/HelloWorld.bf
Hello World!

Ascii to Brainfuck converter

This converts plain ascii text to Brainfuck

Usage:

brainfuck encode [FILE | TEXT...]

Example:

$ brainfuck encode Hello World!
>++++++++[<++++++++>-]<++++++++.>++....

About

Brainfuck Interpreter/Converter (both ways) written in C

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published