Carevindecant
Jump to navigation
Jump to search
Carevindecant is a Turing complete esolang created by CreeperBomb in August 2023. It is a Turing tarpit, and, as of writing/creating this page, only has one result on Google. The name comes from "CAREt", "V", "INcrement", "DECrement", "AT", & "Newline".
Explanation
There are only six characters used in Carevindecant code:
@ |
The register of the value of the register that comes immediately after it. If none does, it is register 0. |
+ |
Increments immediately following register. |
- |
Decrements immediately following register unless said register is 0. |
^ |
Moves up a line if immediately following register is 0. If on the highest line, halt the program. |
v |
Moves down a line if immediately following register is 0. If on the lowest line, go to top of program. |
Newline | Seperates lines. |
If the end of a line is reached, the line is run again.
There is a register for every nonnegative integer, and each register can store any nonegative integer.
I/O is done by writing/reading the registers.
Examples
Truth machine (input on register 0 before running):
^@+@@+@