Open acostarelli opened 8 years ago
Sometimes, in BF, a single command, or a pattern of commands may be repeated quite a number of times. It would be nice to have some sort of easier way to write repeated commands.
Perhaps it could look something like this:
(++>)*100
Which would execute ++> 100 times.
++>
I got the idea from this PPCG post.
This is a quite common feature in many Brainfuck interpreters, so yeah this could be useful to support.
Sometimes, in BF, a single command, or a pattern of commands may be repeated quite a number of times. It would be nice to have some sort of easier way to write repeated commands.
Perhaps it could look something like this:
Which would execute
++>
100 times.I got the idea from this PPCG post.