Binary Minsky machine
Jump to navigation
Jump to search
- Not to be confused with Binary-encoded Minsky machine.
Binary Minsky machine (BMM from now on) is an esolang by User:Hammy. Even though the code doesn't look like binary, every command is essentially 2 binary digits like 2 Bits, 1 Byte, so this esolang is basically "2 Bits, unlimited bytes".
Commands
The first half of the command is the register. There are 2 of them, so it can be 0 for the first register and 1 for the second. The next (and final) half is the operation. If it's 0, decrement it unless the register is 0. If the register is 0, go back to the beginning. If the second half is 1, increment the register. This isn't the end, though.
Encoding
We take chunks of 4 commands (equal to 2 hex digits) and converts them to hexadecimal. Then every command gets encoded individually using this table:
0123456789abcdef
0 0123456789ABCDE
1FGHIJKLMNOPQRSTU
2VWXYZabcdefghijk
3lmnopqrstuvwxyz@
4#$%&-+()\=*"':;!
5?_/.,~`|÷×¶€¥¢£^
6°{}©®™[]<>ÆÃÅĀÀÁ
7ÂÄĈÇĆČÐÞĒÊËÈÉĪÌIJ
8ŇǸÑŌŒØÕÒÔÓÖŞŚŠŪÜ
9ÙÛÚỲÝŸæãåāàáâäĉç
aćčðþēêëèéīìijňǹñō
bœøõòôóöşśšūüùûúỳ
cýÿ♠♣♥♦△▲□■○◎●☆★
d◁◀▷▶◇◆≈≠≤≥±§¹²³
e½⅓⅔¼¾⅛⅜⅝⅞←→↑↓↔↘
f↗⇐⇒⇘⇗⇔¤―…·•₫₣ƒ₩