Brainfuck in Elixir, part three, compiling
This is the third in a series of articles on building a brainfuck interpreter in Elixir. In the first part we built a minimal brainfuck interpreter that can already run some basic program. In the second part we completed it by implementing loops. In this third episode we'll write a simple compiler to translate Brainfuck instructions to a machine readable intermediate format (AST) and a VM that executes it.
Writing a Brainfuck interpreter in Elixir, part two
This is the second in a series of articles on building a brainfuck interpreter in Elixir. In the first part we built a minimal brainfuck interpreter that can already run some basic program. In this second part we'll finish it implementing loop handling.
Writing a Brainfuck interpreter in Elixir, part one
Brainfuck is an tiny, crazy, esoteric, turing complete, programming language made of only 8 instructions. The perfect language to write an interpreter for, the perfect small project to learn about Elixir fun!