STOD
Jump to navigation
Jump to search
STOD (STringmODifier) is an esoteric programming language, like brainfuck, but based on string modifying.
Examples
Hello, world!
"Hello, world!"#
Counts from 5 to 0
"5"[#@-]
Counts from user input to 0
?[#@-]
Quine
">++++++++++++++++++++++++++++++++++.<#>.<#">++++++++++++++++++++++++++++++++++.<#>.<#
Docs
All default brainfuck instructions are included, as well as some new ones:
| Instruction | Desc |
| ? | Ask user for input, and put value into current cell. |
| # | Output current cell value |
| @ | Prints line feed |
| ! | Set current cell value to 0 |
| h | Stop program execution |
| "anydata" | Puts data betwen " into current cell |
| (anydata) | Comment |
External resources
- Javascript interpreter (PHP file type) (dead link)