PrimeFuck
Jump to navigation
Jump to search
PrimeFuck is a language inspired by Brainfuck. It is created by RacistCat. The language is designed to be very difficult and annoying to use.
Instructions
prime(x) means xth prime
Command | Pseudocode |
---|---|
p | mem[data_ptr] = prime(mem[data_ptr] + 1) |
d | mem[data_ptr] //= 2 |
^ | data_ptr = prime(data_ptr + 1) |
v | data_ptr //= 2 |
. | print(chr(mem[data_ptr])) |
, | mem[data_ptr] = prime(get_char()) |
[ | while mem[data_ptr] != 0 { |
] | } |
Programs
There's program that prints "Hello, World!" and it is ~3KB.
Open Questions
Is creating a "cat" program in this language possible? Is this language even Turing-Complete?