Gödelfuck

From Esolang
Jump to navigation Jump to search

Gödelang is an esolang created by TJC games. It's based off of Gödel numbering, with slight connections to Brainf***.

Interpretation

Each program is represented as a number, which is read by breaking it down into its prime factors and using the powers as the instructions The powers are as follows:

Gödelang value BF alternative Instruction
1 > Move pointer 1 byte to the right
2 < Move pointer 1 byte to the left
3 + Increase byte at pointer by 1
5 - Decrease byte at pointer by 1
7 ++++++++++++++++ Increase byte at pointer by 16 (100002)
9 ---------------- Decrease byte at pointer by 16 (100002)
10 . Output ASCII character stored in byte at pointer
11 , Input ASCII character and store in byte at pointer
13 [ If byte at pointer = 0, then skip to next 14
14 ] If byte at pointer != 0, then skip to previous 13

Examples