Skip to content

vivCoding/bf-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck interpreter

Runs Brainfuck code from a file. Has basic error checking. Written in C.

Usage

Compile using gcc or any C compiler. Then run with file path as parameter

gcc interpreter.c -o bf
./bf <path_to_file>

You can also convert Brainfuck to simple C code

gcc converter.c -o bf_to_c
./bf_to_c <brainfuck_file> <path_to_output_file>

Examples

Run Brainfuck

./bf hello_world.bf

Convert Brainfuck to C:

./bf_to_c hello_world.bf hello_world.c

About

brainfuck interpreter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published