Funnie
Jump to navigation
Jump to search
Funnie is an Esoteric data structure by User:ChuckEsoteric08 which goal was to make most different data structure.
Operations
Basic Operations
| Operation | Function |
|---|---|
| PUSH x | Push x to Funnie |
| POP | Pop from middle of Funnie |
| NOP | Do nothing(x is a comment) |
If you try to access middle item if length of the Funnie is even then it will access n-th element (with indexes starting at 1 at the top of the Funnie), where n is equal to the length of the Funnie divided by 2.
Additional operations
| INC x | increment middle of Funnie by x |
| DEC x | decrement middle of Funnie by x |