From Esolang
Jump to navigation Jump to search

is a language based very much on . It uses only its phase one instructions.

Memory

⌬ uses the registers as memory:

a = 0
w = 0
q = 0
p = 0
g = 89404137

as well as its own program. Note that every register is updated to its absolute value every time its value changes.

Instruction reading

⌬ instructions are read with the formula:


in which i is the current index of the command pointer, and c is the current command characters byte code. The program halts when the end of the code is reached.

Instructions

Once these have been read, each possible value has an assigned command:

Caption text
Value Instruction
0 Mutates internal accumulators and shifts keys:
  • a += 3
  • w += 7
  • q -= 43
  • p -= 13
  • g ^= 0xCAFEBABE
1 Mutates internal accumulators and shifts keys:
  • a -= 2
  • w -= 5
  • q += 67
  • p += 17
  • g += a ^ w
2 Synthesizes a candidate byte b using the formula:


Then, the character with the same byte code is appended to the program, and the PRNG is penalized (g = 0xDEADBEEF).