Skip to content

biraj21/brainfuck-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Interpreter

A simple Brainfuck interpreter written in C. It can also transpile a Brainfuck program to C. The transpiler doesn't check for errors at the moment.

Screenshot

Build:

make

Usage:

bf [OPTION] [FILE]

Examples:

Interpret:

bf test.bf

Transpile to C:

bf --transpile test.bf

This interpreter takes about 45 seconds to run Erik Dubbelboer's Mandelbrot program.