1 fab3f1f6 2022-04-27 op bfc -- a brainfuck compiler
2 fab3f1f6 2022-04-27 op ===========================
4 fab3f1f6 2022-04-27 op bfc is a simple brainfuck compiler. It's written in Haskell because I
5 fab3f1f6 2022-04-27 op hate myself and outputs QBE because why not.
9 fab3f1f6 2022-04-27 op $ bfc sources... > program.ssa
10 fab3f1f6 2022-04-27 op $ qbe program.ssa > program.S
11 fab3f1f6 2022-04-27 op $ cc -o program program.S && ./prog
13 fab3f1f6 2022-04-27 op bfc reads from standard input if no arguments are given.
15 fab3f1f6 2022-04-27 op bfc is release into the public domain.