brain icon indicating copy to clipboard operation
brain copied to clipboard

Advanced Branching (if, else if, else)

Open sunjay opened this issue 9 years ago • 0 comments

There are some really smart people coming up with interesting ways to implement various features in brainfuck. The Brainfuck algorithms wiki page is particularly useful.

It contains several example implementations of if (x) { code1 } else { code2 }.

We can use these people's techniques to implement more advanced branching patterns into brainfuck.

  • [ ] Implement if, else if and else statements with support for an arbitrary number of branches
  • [x] Investigate break and continue after this implementation and possibly create an issue for implementing those statements (see #28)

Low priority until MVP is finished.

sunjay avatar Jan 28 '17 03:01 sunjay