STOD

From Esolang
Jump to: navigation, search

STOD(STringmODifier), is an esoteric programming language, like brainfuck, but here all based on string modifing.


Examples

Hello, world!

"Hello, world!"#

Counts from 5 to 0

"5"[#@-]

Counts from user input to 0

?[#@-]

Quine

">++++++++++++++++++++++++++++++++++.<#>.<#">++++++++++++++++++++++++++++++++++.<#>.<#

Docs

All default brainfuck instructions and added this.

Instruction Desc
 ? Ask user for input, and put value into current cell.
# Output current cell value
@ Prints line feed
 ! Set current cell valu to 0
h Stop program execution
"anydata" Puts data betwen " into current cell
(anydata) Comment

External resources