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!" (Input overwrites the bits in the bit tape, using utf-8 if the bit on the tape is 1, and Latin-1 otherwise.
�(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 adds the current bit to the output bit buffer.
0 pops a bit from the output bit buffer, placing it in the current bit.
> 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.