Interpreter for an esoteric programming language. Uses wrapping cells, with each cell having 1 byte of memory. Instructions known by the language: ~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Increases element under pointer - Decreases element under pointer > Increase pointer < Decrease pointer [ Starts loop, flag under pointer ] Indicates end of loop . Outputs ASCII code under pointer , Reads Input and stores ASCII under pointer Who can program anything useful with it? :) #BrainF #Esolang
Example programs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Hello World!": ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++. "SUPER_scratcher188": ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++++++++.++.-----.-----------.+++++++++++++.>-----.++++++++++++++++++++.----------------.+++++++++++++++.<+++++++++++++++.>++.<++.+++++.---.>--.<<+++++++++++++++++++.+++++++.. Cat (Directly output the input): ,[.,] Looping Counter: +[>>[>]++++++++++++++++++++++++++++++++++++++++++[<]>[.>]++++++++++.----------<[<]<] Rotate By 13 Places Cipher: -,+[-[>>++++[>++++++++<-]<+<-[>+>+>-[>>>]<[[>+<-]>>+>]<<<<<-]]>>>[-]+>--[-[<->+++[-]]]<[++++++++++++<[>-[>+>>]>[+[<+>-]>+>>]<<<<<-]>>[<+>-]>[-[-<<[-]>>]<<[<<->>-]>>]<<[<<+>>-]]<[-]<.[-]<-,+]