This program compiles .bf
files into .c
programs.
./BF fileIn [-o fileOut]
- Make sure you have access to
ghc
on you system. - Compile using
ghc Program.hs -o BF
- Compile
.bf
to.c
using./BF examples/hello-world.bf
- Compile
.c
to executable usinggcc examples/hello-world.c -o hello
- Run example
./hello