ObfuscatedFuck

From Esolang
Jump to navigation Jump to search

ObfuscatedFuck is a brainfuck equivalent. The program is a list of tokens, each representing a bit string. By concatenating all these tokens together, you get a bitstring that can be turned into brainfuck. The tokens are:

Tokens
token meaning
o 0
0 0
O 0
1 1
I 1
\ 1
/ 1
1
8 00
d 01
q 01
b 10
p 10
P 10
% 010

The resulting bitstring the can be translated into brainfuck.

Mapping
BF ObfuscatedFuck
000 +
001 -
010 <
011 >
100 .
101 ,
110 [
111 ]

Examples

Hello World

8o8o8o8o8o8o8o8o1bd18o8o8o8o1bd18o8od18o8o8od18o8o8od18o%%%%81111d18od18od181d1d18o1b%111%81111d1d1bod1818181bo8o8o8o8o8o8o8obobo8o8o8obod1d1bo%81bo%bo8o8o8obo818181818181bo8181818181818181bod1d18obod18o8obo

Cat Program

A repeating cat program follows, the same terminates on a user input of the null character:

1d1bbo1d111

Truth-Machine

This program furnishes a truth-machine:

1dbo1b8181d18o1bd1d1111%1bbo111%%111

Interpreter

  • Common Lisp implementation of the ObfuscatedFuck programming language.