Skip to content

xetri/brainfwk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfwk Compiler

It can compile brainfuck code to C and be compiled to executable with gcc. Runs in its own Virtual Machine.


Build

gcc ./bfwk.c -o bfwk.exe
#or
tcc ./bfwk.c -o bfwk.exe

Interpret

./bfwk run ./b.b

Compile

./bfwk com ./b.b ./out
./out

Transpile to C

./bfwk c ./b.b

Specify stack size

./bfwk run ./b.b 255