BrainfuckInterpreter/brainfuck.bf

16 lines
542 B
Brainfuck

See https://www.hevanet.com/cristofd/08.html
>>>+[
[-]>>[-]++>+>+++++++[<++++>>++<-]++>>+>+>+++++[>++>++++++<<-]+>>>,<++[
[>[->>]<[>>]<<-]<[<]<+>>[>]>
[<+>-[[<+>-]>]<[[[-]<]++<-[<+++++++++>[<->-]>>]>>]]<<
]<
]<[
[<]>[[>]>>[>>]+[<<]<[<]<+>>-]>[>]+[->>]
<<<<[[<<]<[<]+<<[+>+<<-[>-->+<<-[>+<[>>+<<-]]]>[<+>-]<]++>>-->[>]>>[>>]]
<<[
>>+<[[<]<]>[[<<]<[<]+[-<+>>-[<<+>++>-[<->[<<+>>-]]]<[>+<-]>]>[>]>]
>[>>]>>
]
<<[>>+>>+>>]<<[->>>>>>>>]<<[>.>>>>>>>]<<[>->>>>>]<<[>,>>>]<<[>+>]<<[+<<]<
]