IDK
Jump to navigation
Jump to search
IDK is a joke language consisting of 1 instruction, 1 variable, and 2 registers.
IDK has a file extension of .idk
or .IDK
, usually .idk
.
Language
Command | Description |
---|---|
openC | Starts program and must be called at the Beginning of File (BOF). |
closeC | Ends program and must be called at End of File (EOF). |
execute | Executes the value in an extract register. |
openJump | Loops to line defined by the value of an isolate register. |
if | Checks whether a variable is equal to the value in an extract register; then loops to line defined by isolate register. |
pause | pauses for one second. |
Variable | |
movVar | Creates a variable and overwrites it. |
Register | |
extract | Pops the value in a stack into an extract register, must be called to use an instruction. See also Instructions. |
isolate | Pops the value in a stack into an isolate register. |
Stack | |
movLoc | Pushes to the stack. |
extractX | Pushes to the stack with the value of an extract register. |
varX | Pushes to the stack; however from the rightmost of the stack with the value of a variable. See also the stack. |
isolateX | Pushes to the stack with the value of an isolate register. |
Instruction | |
1 | Exits program immediately |
2 | Outputs the value in a variable. |
3 | Reads input. |
Examples
Hello, World!
openC movLoc 2 extract movVar Hello, World! execute closeC