ctions
Jump to navigation
Jump to search
ctions is an Esoteric programming language created by User:Buckets in 2022, Deriving from the Word functions, but since It's not fun, thus it's ctions.
Commands | Instructions |
---|---|
`a | Declare a Variable a. |
~b() | Declare a ction b. |
\c\d\e | Declare a set c Of d & e. |
{f.g} | Declare an Equality of An item f as the item g. |
< | Go forwards In time(, as in, f is g). |
> | Go Backwards in time(, as in, g is f). |
+ | Push The Current time Element to The stack. |
IRE | Move Left in the Commands. |
ELL | Move Right in the commands. |
[] | Code in Square brackets. |
! | Replace from The Set with The lth item. |
h,i,j...| | Set of commands. |
* | Square The variable. |
* | Compound The top of the stack And add it to The End of the Set. |
** | -1 The Variable. |
1k | Declare A Number variable(, It starts at 0). |
Focus Upon The Variable Named "l"! | Will Focus on The Variable l. |
Iutput Onput | Start/End. |
If m = "" Then, Else, | This is The only Way to Print, It is A Quine for the Entire Program, there cannot be An empty String nor A Variable, which is not Declared. |
Sofa | Noop. |
Oops!!!!! | Creates a branch, Skips until Another Oops!!!!! And Does nothing(, Creates a new IP). |
The IP will Move In A Spiral From commands, Starting at the Top Right And In an Anti-clockwise Manner, If there is some Command not stated in the Rule set, It will Spit out an Error And Crash.
Start And End program:
Iutput OnputSofa Iutput OnputSofa
Quine:
Iutput OnputIutput Onput 1mIf m = "." Then, Else,
The Closest Version that ctions can do for A "Hello, World!" Program:
Iutput Onput Sofa Hello, World! 1mIf m = "." Then, Else,Iutput Onput