BrainF is an esoteric programming language (esolang) with only 8 instructions. In BrainF, there is an infinite line of cells, each containing an 8 bit number (0-255). There is a pointer that points to one cell and can be moved. Cells are accessed via this pointer.
Instructions:
+increments the current cell by 1
-decrements the current cell by 1
>moves the pointer along 1 in the positive direction
<moves the pointer along 1 in the negative direction
[if the current cell is equal to 0, jump to the matching close bracket, otherwise continue
]if the current cell is not equal to 0, jump back to the matching open bracket, otherwise continue
,ask the user for an input char, converts it to a number using ASCII and puts it in the current cell
.outputs the current cell's value as a character using ASCII
This website will remember the array of cells until you clear it with the x button. Click the [] button to see the cells. Click the play button to run your code.
Now code away!