Optimizing compiler for brainfuck
Currently supported targets:
- C
Planned targets:
- JVM
In order to compile the project you need to have stack
installed.
$ stack setup
$ stack build
To run the compiler use
$ stack exec brainfrick
brainfrick [OPTION...] file
-o FILE --output=FILE output file
-t TARGET --target=TARGET compilation target
file input file
Valid targets are:
c