Skip to content
/ BrainPP Public

BrainPP is a Brainfuck interpreter made in C++.

License

Notifications You must be signed in to change notification settings

AquIce/BrainPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BrainPP

BrainPP is a Brainfuck interpreter made in C++.

How To Use

  1. Put brainpp.cpp and brainpp.hpp inside your code folder:

image

  1. Include the .hpp file in your main.cpp:
#include "brainpp.hpp"
  1. Choose between the easy method and the full method

Easy

BrainPP::brainpp(<code>);

or

BrainPP::brainpp(<file>, true);

Full

BrainPP::BrainPP bp = BrainPP::BrainPP();
bp.run(<code>, false);

or

BrainPP::BrainPP bp = BrainPP::BrainPP();
bp.run(<file>, true);

Example

#include "brainpp.hpp"

int main() {
	BrainPP::BrainPP bp = BrainPP::BrainPP();
	bp.run("Fibonacci.bf", true);
	return 0;
}

This uses Fibonacci.bf as input

About

BrainPP is a Brainfuck interpreter made in C++.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published