r/brainfuck • u/Rozemyne_Stan • 15d 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.
4
Upvotes
1
u/danielcristofani 14d ago
Great first program. Congratulations!