My basic brainfuck (wikipedia) compiler. It has a few optimisations, noted below. Also the assembly is probably quite inefficient, however it works with the tic-tac-toe and mandelbrot examples.
- Combine multiple of the same instruction
- Combine multiple of the opposite instruction