Jump to navigation Jump to search
brainflop has 7 commands:
+ increment the memory cell under the pointer - decrement the memory cell under the pointer < move the memory pointer left > move the memory pointer right * If the memory cell is 0, get input. Else, print the cell's corresponding ASCII character. / If the cell is 0, skip the next command. Else, move the pointer 1 space to the right. Move the program pointer the number of spaces indicated by the cell (negative goes backwards, positive goes forwards). # Set the current cell to 0.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++* +++++++++++++++++++++++++++++* +++++++** +++*# ++++++++++++++++++++++++++++++++* +++++++++++++++++++++++++++++++++++++++++++++++++++++++* ++++++++++++++++++++++++* +++* ------* --------*