16 lines
270 B
Brainfuck
16 lines
270 B
Brainfuck
>
|
|
,[>,]
|
|
|
|
<[->+>+<<]> >[-<<+>>]< copy here from left cell
|
|
|
|
[[-] make loop if copied is nonzero:
|
|
<[
|
|
.[-] print & remove right
|
|
<[<] move left edge
|
|
>[.[-]] print & remove left if exist
|
|
>[>] move right edge
|
|
]
|
|
<[->+>+<<]> >[-<<+>>]< copy here from left cell
|
|
]
|
|
|
|
<[<] |