FU

From Esolang
Jump to navigation Jump to search

FU (Or FUUUUUUUUUUUUUUUUUUUUUUU) is an esoteric programming language created by User:Positron.
It is designed to be minimalistic and hard to understand.

Instructions

There are only 2 instructions:

Instructions
Instruction Action
F Add one to the Interrupt Code
U Interrupts

Yes, the programming language work with interrupts, like 16-Bits Real Mode...
It also have a memory, an (unsigned) char array like Brainfuck, but the array is sized 4096 and not 30000.
There is only 8 Interrupts:

Interrupt Table
Interrupt Code Action
0 Move the memory pointer to the right
1 Move the memory pointer to the left
2 Add 1 to *ptr
3 Subtract 1 to *ptr
4 Print *ptr ASCII value
5 Get a char from user and put it in *ptr
6 If *ptr equals 0, ignore *(ptr+1) instructions/characters
7 Goto the *ptr character of the file

You may saw that you can use F to add 1 to the instruction code, put there is no way to subtract 1 to it.
That's right, you need to do a integer unsigned char overflow.

Hello, World!

Here the code in a readable way:

FF
UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
UUUUUUU
FF
U
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FF
UUUUUUUUUUUUUUUUUUUUUUUUUUUUU
FF
U
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF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