We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

STOD

From Esolang
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