Two-symbol stream
Bits are represented using two visually similar characters: l stands for 0 and I stands for 1.
A peculiar, esolang where JavaScript source is transformed into a stream made from just two lookalike characters: lowercase l and uppercase I.
lI v0.1 uses canonical Huffman coding to encode source text. The result has a small metadata header, followed by the encoded stream. It’s esolang-inspired in appearance, but the current playground encodes and decodes JavaScript text—it does not interpret lI as a standalone programming language.
Bits are represented using two visually similar characters: l stands for 0 and I stands for 1.
Character frequencies build the Huffman code lengths, then canonical rules assign reproducible bit codes.
Convert JavaScript source into lI text, decode it back, or run the JavaScript in the local playground.
The header stores the character count, number of encoded bits, and each character’s Unicode code point and frequency.
(!lI/1;N=2;B=2;F=U+0041:1,U+0042:1) lI Header shown as an illustrative example; actual bit codes depend on the complete source.
Use the IDE to experiment with source text, and keep the codebook open when you need the file format, symbol mapping, or header fields explained.