NPFuck

From Esolang
Jump to navigation Jump to search

NPFuck is a Brainfuck derivative made by Cortex designed to be as hard to implement as possible.

How to write an NPFuck program

First, write the number of memory cells (in base 52) using this calculator and these digits:

sAPraEm37eCjd0z24R1KIcTixqbH5pNJfVvQX9gwknZhUDLuyFl8YBOoGMWtS6

Then, append the @ character if the code is being run on a day of the week after Wednesday, otherwise prepend #$ and append ([)]

Commands

Character What it does
< Move the memory pointer left if the first argument of the interpreter function is not a function that always returns 1, otherwise become Unlambda.
> Move the memory pointer right.
| Increment the cell under the pointer by 3i+√5 if preceded by an ampersand. Otherwise, increment by 2.
_ Decrement the memory cell under the pointer by 1.5.
+ Increment the memory cell under the pointer by the value of the first 11 bits of the kernel space of the user's machine as a binary number.
# Quad-palindromize.
Example Example
Example Example
Example Example
Example Example
Example Example
Example Example