Outputs the digit '5' (ASCII 53).
+++++++++++++++++++++++++++++++++++++++++++++++++++++.
Output: 5
Reads one character and outputs it.
,.
Input: Any visible character
Output: Same character
Moves a value from one cell to another. Input two visible characters, outputs their sum as a character. For example, input '1' and '2' (ASCII 49 and 50) will output 'c' (ASCII 99).
,>,[<+>-]<.
Input: Two visible characters (e.g., 1 and 2)
Output: Sum as visible character (e.g., 'c')
The classic 'Hello World!' program.
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Output: Hello World!
Multiplies two single-digit numbers. Input two digits (e.g., '3' and '4'), outputs their product as a character (e.g., 'L' for 3*4=12+48=60, ASCII 60 is '<').
,>,<[>[>+>+<<-]>>[<<+>>-]<<<-]>>.
Input: Two digits (e.g., 3 and 4)
Output: Product as visible character (e.g., '<')
If input is '0', outputs '0'. If input is '1', outputs infinite '1's. (Input must be the digit '0' or '1')
,[.[-]+,]
Input: 0 or 1 (as digit)
Output: 0 or infinite 1s
Copies a value to multiple cells. Input a visible character, result is value copied to next cell.
,[>+>+<<-]>>[<<+>>-]<<
Input: One visible character (e.g., 'A')
Output: Value copied to next cell