Text Binary

From Esolang
Jump to navigation Jump to search

Text binary is a programming language first created by User:Star651 in early 2006 but never written about until November 13, 2022. The concept of text binary is very simple; Text Binary is simply a binary file that has been converted into the textual representations of 0 and 1 (ASCII values 48 and 49); originally the language was designed for eight-bit computers so each line consisted of eight digits, but a more "practical" interpreter these days would convert 32-bit executables into lines containing 32 digits, and 64-bit executables into lines containing 64 digits, though the eight-bit version can probably still be used to encode text files, and the sixteen-bit version can probably still encode more advanced text files containing characters from other languages; the sixteen-bit version can probably also encode standard sixteen-bit wav files and such. The point of Text Binary is that when you open up a Text Binary file in a text editor, you actually see the sequence of zeros and ones on your screen. This is what young children (what Star651 was in early 2006) expect to see when they open a binary file in a text editor; strings of zeros and ones on the screen. But obviously what they will actually see is what appears to be nonsense symbols; the binary interpreted as text. Well, if this file is run through a Text Binary decompiler, it will be converted to actual text featuring the numbers 0 and 1. So in a way the German compiler and decompiler could just be rewritten, so instead of the words SCHNITZEL and BEER they would be the actual numbers 0 and 1. So basically like a hex dump, but with the binary digits instead of hexadecimal digits.