We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Minimized Binary

From Esolang
Jump to navigation Jump to search

Info

As the Title says, this is a minimized Version of BiNaRy

here's how it works:

for example,

Example

a Hello World program in Binary would look like this:

01001000 01100101 01101100 01101100 01101111 00101100 00100000 01010111 01101111 01110010 01101100 01100100 00100001

and in Minimized Binary

it's 01�1�2�1010202�202�204�102�1�10103020403�1�202�2�1�1�1

Conversion

This will be a step by step tutorial on how to convert Binary to Minimized Binary

  1. You remove all the spaces
    • 01001000011001010110110001101100011011110010110000100000010101110110111101110010011011000110010000100001
  2. Every Row of 1s now gets replaced with the Amount of 1s
    • 01001000020010102020002020002040010200001000000101030204030010020200020010000100001
  3. If there is more than One 0 in a Row then the Row of 0s gets replaced with Ascii-(Amount of 0s in the Row-1)
    • 01�1�2�1010202�202�204�102�1�10103020403�1�202�2�1�1�1

Clarifications

What happens when you have between 48 and 57 0's in a row? –PkmnQ (talk) 11:12, 25 November 2026 (UTC)
    Yo idk 😭✌️
    Nah it just puts  /  (ascii-47) and then the rest amount of 0s as an ascii character for example if
there are fifty 0s then the replacement is /�

If there are more than nine 1s then e.g. eleven 1s would be 9++ because it takes 9 and (amount of 1s-9) +'s

And that's it already :D

(If you want a file extension for it, it's .minbin)

Programs so this Page isn't so Empty

Hello World (Again)

01�1�2�1010202�202�204�102�1�10103020403�1�202�2�1�1�1

Quine

105�203�1�1�1�10201�101�101�101�2�201�1�101�203�105�2�201�1�

Cat Program

01�1�1�1�4�20102�1�1�2�3�2�9�4�102�103�301�1�101�1�91�1�1�3�3�4�104010502�102�4�4�101

Infinite Loop

301090