Truck
Jump to navigation
Jump to search
Truck is an Esoteric programming language created by User:Buckets in 2024.
After all Commands, The Index rotates Upwards or downwards By the digits of e (Excluding '2.'),
Upwards if the digit's Decimal place is even, else Downwards for Odd digit decimal place It starts Normally For the first Command though.
Index | Commands | Instructions |
---|---|---|
0 | Goto #B | Go to Line #B. |
1 | #A If #B | If #B, Go to Y, With the same #A. |
2 | #A Y | Noop. |
3 | Prt | Print What is Inside of the Current Variable. |
4 | :I | Set the current variable to the Input. |
5 | Differ #A | Change the current variable's number By #A. |
6 | CH #A | Change to Variable #A. |
7 | Stk() | Concatenate What is inside of the brackets To The Current variable. |
8 | !! | Print a line feed. |
9 | Anything Else. | Noop. |
Cat program:
:IGoto 0CH 0
Truth-machine Program:
:I 0 !! 0 1 Stk(1) :I 1 1 CH 0Differ 0Goto 2 0 !!Stk()
"Hello, World!" Program:
Stk(Hello, World!)Goto 0