brain
brain copied to clipboard
Advanced Branching (if, else if, else)
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 ifandelsestatements with support for an arbitrary number of branches - [x] Investigate
breakandcontinueafter this implementation and possibly create an issue for implementing those statements (see #28)
Low priority until MVP is finished.