Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 479 Bytes

File metadata and controls

20 lines (15 loc) · 479 Bytes

brainfuck interpreter & compiler

wikipedia

Add cell 0 and cell 1 and store in cell 0

++       Cell c0 = 2
> +++++  Cell c1 = 5

[        Start your loops with your cell pointer on the loop counter (c1 in our case)
< +      Add 1 to c0
> -      Subtract 1 from c1
]        End your loops with the cell pointer on the loop counter

hello world

+[-[<<[+[--->]-[<<<]]]>>>-]>-.---.>..>.<<<<-.<+.>>>>>.>.<<.<-.