Blob
1 bfc -- a brainfuck compiler2 ===========================4 bfc is a simple brainfuck compiler. It's written in Haskell because I5 hate myself and outputs QBE because why not. It's released into the6 public domain.8 Makefiles are clunky, hard to write and errors prone, but they also9 have their shortcomings! You can use make to build bfc:11 $ make13 Usage:15 $ bfc sources... > program.ssa16 $ qbe program.ssa > program.S17 $ cc -o program program.S && ./program19 bfc reads from standard input if no arguments are given.