An optimizing brainfuck compiler