Skip to content

A transpiler to convert your brainfuck code into c++ code

Notifications You must be signed in to change notification settings

FKD13/brainfuck-transpiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Transpiler

Convert all your brainfuck code to c++ code.

Building the transpiler

First of all clone the project and then execute cmake . && make in the newly created folder.

Using the transpiler

The Transpiler takes as argument a file containing the brainfuck source code. Using it to transpile cat.txt looks like this:

./bfuck example/cat.txt

which generates out.cpp.

The complete flow looks like this:

./bfuck example/cat.txt
clang++ out.cpp
./a.out

Or a one liner:

./bfuck example/cat.txt && clang++ out.cpp && ./a.out

Feel free to contribute by opening issues or creating PR's.


Enjoy converting your BF code!

About

A transpiler to convert your brainfuck code into c++ code

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published