DEV Community

Discussion on: Create a brainf*ck compiler

Collapse
 
itr13 profile image
Mikael Klages

Not exactly a compiler, but I made an interpreter once: github.com/ITR13/BrainF-ck-Interpr...

And a separate interpreter to test it:
github.com/ITR13/BrainF-ck-Interpr... (Ignore the method name, it just does some preprocessing to speed up the running of the program later).

That said, both of these assume an infinite band in both directions, rather than just to the right, so they're not true implementations