Jump to navigation Jump to search
|Computational class||Turing complete|
TP is a language created by ender_scythe in November 2016 as a fun little project. The language is centered around using toilet paper.
TP is based around rolls of toilet paper. These rolls act as cells on a tape. Each roll starts at 255 sheets, and can be used at will. Once a roll reaches an insufficient amount of paper, the programmer must get a new roll, and cycle to it. TP has two conditonal operators. The conditional operators are both WHILE loops.
TP has 10 commands, the main being a subtraction operator.
||Decrements the current roll by 1.|
||Moves to the next roll.|
||Moves to the previous roll.|
||Adds a new roll to the pile.|
||Removes the newest roll from the pile.|
||If the current roll is greater than zero, do this.|
||If the current roll is zero, do this.|
||Display the ASCII value for the current roll.|
||Takes an ASCII value and subtracts that from the current roll.|
This displays ü.
USE TP USE TP USE TP DIS TP
- Original Interpreter (Dead link)