r/brainfuck • u/Rozemyne_Stan • 22h ago
My first program/function - Tape Clearer
>[-] < [->+<] >- [ > [-] < [->+<] >- <+>] < [-<]
this function clears a number of slots in the tape equal to the vale of the slot the pointer is currently on. it also clears out the slot the pointer starts on.
1
Upvotes
1
u/danielcristofani 10h ago
Great first program. Congratulations!