0bIN
Jump to navigation
Jump to search
A programming language that uses only binary*
(*You need to convert the symbols into binary)
The name came from 0b and the file extension .bin
| The Unbined | How to |
|---|---|
| + | add 1 to selected item |
| - | subtract |
| ( | loop based on number (eg, 1()) |
| ) | end loop |
| [ | move pointer |
| ] | move pointer |
| “ | string to item |
| ‘ | input |
| ~ | escape loop |
Convert the symbols to binary, then put them together into one single line
| Header text | Header text |
|---|---|
| 0b | start a line, can begin with a letter or number because function |
| _ | do function (eg 1_) |
| = | output the selected item |
| . | reset the pointer back to 0 |
| $ | begin program |
| ; | end program |
| { | start the “normalized” 0bIN code |
| } | end the normal cod |
| : | seporate |
Btw the comments are #
Xkcd Random Number
$ 0b00101011001010110010101100101011 = ;
Better looking xkcd
$
{++++}
=
;
Cat
$ 0b001100000110001000110000001100010011000100110000001100010011000000110000001100010011000000110001001100010011000000110001001100010011000100110000001100000011000100110001001100000011000000110001001100010011000000110000001100000011000100110000001100010011000000110000001100000011000100110001001100010011000000110000001100000011000100110000001100010011000000110000001100000011000000110000001100000011000000110001001100000011000000110001001100010011000000110000001100000011000000110001001100010011000100110001001100010011000100110000001100000011000000110001001100000011000100110000001100000011000100001010001111010000101000101110 ;
Better looking version
$
{{inf(‘~)}=}
;
Hello World
$
{“Hello, World!”}
=
;
One line helloworld:
$:{“Hello, World!”}:=:; #Pretty Short