It's an interesting/challenging exercise to work through implementing some basic functions in BF, ie thinking only in loops.
I implemented an optimizing interpreter in Bash[1] on a plane ride, and it's still one of my favorite pet projects.
I implemented an optimizing interpreter in Bash[1] on a plane ride, and it's still one of my favorite pet projects.
Here's my entry - https://github.com/danthedaniel/BF-JIT