Obfuck

From Esolang
Jump to navigation Jump to search

Obfuck is a brainfuck equivalent.

Syntax

First, translate the brainfuck into binaryfuck.

Then, translate it to a decimal number.

Next, add some nonnumeric chars between each digit.

Next, add one character between each character.

Next, convert them into UTF-8 and write it in binary.

Next, reverse it.

finally, take 3 bits a group and translate them according to the following:

bits text
000 l
001 I
010 1
011
100
101 Ι
110 ι
111 Í

line wraps are ignored.

Examples

I did them in python.

Hello world

 1|IιÍI1ι∣|ΙlιlΙιιΙ∣∣Í|lιΙIΙ1Í|Ιι1|IlÍI1ιI|∣∣ιIIιlÍ
Ι1|lΙ∣Í|Ι∣Í1IιÍI∣1Í1I∣1|∣ιι1∣ι∣ΙΙιÍ1Ι∣∣|∣||lΙιι|l∣
ÍIΙ∣ΙIΙlι|ΙιlÍΙlÍ1Ι∣I|∣∣ÍIIιI|Ι1||I∣Í|Ι1Í1IιI|l1ÍI
Ι∣1|ΙΙ|1∣ι∣ÍIιÍl|∣∣|∣1ÍlΙιι|l∣ÍlΙ∣ΙI∣IÍ|ΙιlÍIlÍI∣ι
I|Ι1ιIIιι|I1|l1ιÍ|ΙIι1IιιΙ∣1Í|I∣1|∣Ι|1∣ιlÍIιÍ1I∣∣|
∣||lΙι∣Íl∣Íl|∣ΙIΙ∣ι|ΙιÍ|ΙlÍl|∣I|Ι1|IIιlÍI1|IIιÍ|∣I
ι1Iι∣Íl1Í|Ι∣1|∣I|1∣ι∣ΙΙιÍII∣∣|∣Ι|lΙιlΙ∣∣Í|Ι∣ΙIΙIι|
ΙιI|ΙlÍl|ιI|∣1ιIIι∣|I1|l|∣Í|Ι∣Í1IιI|∣1ÍII∣1|∣1|1∣ι
I|IιÍ|∣ι∣|∣∣ιlΙιlΙ∣∣ÍlI∣ΙIΙιι|Ιιι|ΙlÍ1∣ιI|∣I|IIιI|
I1|IΙ∣Í|Ι∣ι1IιlÍ∣1Í|I∣1|∣Iι1∣ιI|IιÍ1|∣∣|∣∣ÍlΙι∣Í∣∣
Íl1ιΙIΙιι|Ιι∣ÍΙlÍ1I∣I|∣ι|IIιlÍI1|l1ιÍ|∣∣ι1Iιl|l1Íl
∣ι1|∣Ι|1∣ιι|IιÍ1|ι∣|∣ιιlΙιlÍl∣Í|I∣ΙI∣∣ι|Ιι|IΙlÍlΙ∣
I|Ι1ιIIιI|Ι1|1I∣Í|∣∣Í1Iι∣|I1Ι1Ι1