Binaryfuck

From Esolang
Jump to navigation Jump to search

Binaryfuck is a spinoff of the most famous esoteric programming language Brainfuck, created by User:TastyToast.

Language overview

Binaryfuck uses the same operations as brainfuck, except using all 0s and 1s.

Brainfuck Binaryfuck
+ 000
- 001
> 010
< 011
. 100
, 101
[ 110
] 111

All Binaryfuck programs begin with a 1 and then the operations can be used above.

Hello World

This program outs Hello world!:

100000000000000000000000000000011001000000000000000000000001000000000000000000000000000000001000000000001000001101101101100111101000000010001000010000000000000000000000010010000000000010001000000010001101100 0000000000000000000000000000000000000000000100010100000000000100001001001001001001100001001001001001001001001100010000100010100

Hexadecimal Representation:

2000000064000004000000020020db67a0221000001200220236000000000008a0021249309249262114

Base 32 Representation:

800000680000g00000200gdmpt04880000i00h04dg000000008k0114i9gi94ic88k

Syntax

All programs begin with a leading 1. Once the program is finished being written in binary, it is converted to base 32 to be interpreted.

Brainfuck programs and their equivalents

ROT13:

-,+[-[>>++++[>++++++++<-]<+<-[>+>+>-[>>>]<[[>+<-]>>+>]<<<<<-]]>>>[-]+>--[-[<->[-]]]<[++++++++++++<[>-[>+>>]>[+[<+>-]>+>>]<<<<<-]>>[<+>-]>[-[-<<[-]>>]<<[<<->>-]>>]<<[<<+>>-]]<[-]<.[-]<-,+]
2d33i800p00000cuocsg84e95rr437kgbmrdjv95hs49ospb3vts0000000f4e84nb1j13q15rdmpt5j13qosbf3qbmudii7kndsr14ftsfecfcq7

Infinite Fibonacci Sequence:

>++++++++++>+>+[[+++++[>++++++++<-]>.<++++++[>--------<-]+<<<]>.>>[[-]<[>+<-]>>[<<+>+>-]<[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>[-]>+>+<<<-[>+<-]]]]]]]]]]]+>>>]<<<]
2g00000211m000p00000cukc000ch4i94mf1mva4mouu86f9cr10htsgcsgcsgcsgcsgcsgcsgcsgcsgcsm7k21mpp0pvvvvvvs4itmv

Binaryfuck programs

Truth-machine:

3e843cu00068i94ib7lihuk

Quine: (supposed to be on one line)

194i00080010004000g00280004004000080080004004000080080004004000080010000g00g00080g00010g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210004000200204080g10204080g10204080g10204080010010010g00200080g00080084200080080084000g00204000200210004004004200080010200010010g84210g84210g84200080080084000g00204000200210g00200200210004000g10000g00g84210g84210g84210g84210g84210g84210004004004200080010200010010g80010010010g00200080g00080g00010000200004000080000g00010000200004004010000g10000200080010000200200200200010010000200080004000200200210004000g00g00080g00010g84210g84210g84210g84210g84210g84210g84210g84210g84010000g10000200080g00010000g10000210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g04000204000080010000200010200004210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210080004080000g00200080010000g00080080084000g00200200010200004210g84210g84210g84210g84210g84210g84210g84210g84210g04000204000080010200004000204000084210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84200g00080g00010004000080080080080004004000080010000g00g00080g00010g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210g84210004000200204080g10204080g10204080g10204080010010010g00200080g00080084200080080084000g00204000200210004004004200080010200010010g84210g84210g84200080080084000g00204000200210g00200200210004000g10000g00g84210g84210g84210g84210g84210g84210004004004200080010200010010g80010010010g00200080g00080g00010000200
004000080000g00010000200004004010000g100002000800100002puufnjtcu7g000000000000000000000000000000000005j4i94i94i94kr14ec0jc4hpgjc4hpg000000016o93j04r14ec000000000000000009m28so16o93hvvvvusouitmuflmdgif3o00000000000000000000000009ht3u7g0000000000000000000000000000000000004ounou0000000000000000000000000000000000000j3q9djc4jou00000000000000000000000002cf8vhs000000000000000000000000000000000000167lrdsvb7hs000000000000000000000000000000000001cp4i94i94i956o93j04r14ec4r14ec000000009m28so16o93j000000000000000002dgi7609m28sfvvvvn67kn

Implementations