The repo for the +.p programming language.
This language only has 3 commands.
Pushes the sum of the last two numbers of the stack onto the stack.
Pushes the number 1 onto the stack if the last number on the stack is prime, pushes the number 0 otherwise.
Removes the first item of the stack and pushes it onto the stack.
Input must be given as numbers seperated as commas. Input is implicit.
Output is implicit and always outputs the last number on the stack.
Download the compiler script and run it.