Blob


1 bfc -- a brainfuck compiler
2 ===========================
4 bfc is a simple brainfuck compiler. It's written in Haskell because I
5 hate myself and outputs QBE because why not. It's released into the
6 public domain.
8 Makefiles are clunky, hard to write and errors prone, but they also
9 have their shortcomings! You can use make to build bfc:
11 $ make
13 Usage:
15 $ bfc sources... > program.ssa
16 $ qbe program.ssa > program.S
17 $ cc -o program program.S && ./program
19 bfc reads from standard input if no arguments are given.