Soh supplementary private use area-b u+10fffe
- This article is not detailed enough and needs to be expanded. Please help us by adding some more information.
� (U+0001 and U+10FFFE), or "soh supplementary private use area-b u+10fffe" is a programming language where different operations are performed on a bit tape initialized with 50,000 zeroes. You can find more information in this GitHub repo.
Commands
�(SOH) takes input from the standard input stream "overwriting the bits it needs, encoded as utf-8 if the current bit is 1, otherwise, encoded as latin-1. Remember to end the input stream with an EOF!" (I don't understand what this means)
�(U+10FFFE) "prints the bits in the output bit buffer, decoded as utf-8 if the current bit is 1, otherwise, encoded as latin-1. No overwriting occurs."
1 turns the current bit into a 1, 0 turns the current bit into a 0.
> and < move the data pointer one bit in the specified direction.
- performs a logical NOT.
? skips the next command if the current bit is 1.
A, O, N, and X perform a logical AND, OR, NAND, or, XOR respectively of the previous 2 bits, and stores the result in the current bit.
| goes back to the beginning of the code.