esolang

MiniStringFuck

One cell, two commands, and every text is a long walk up to the next letter.

2000 · Turing complete: no · ●○○ easy · esolangs.org

Tested with 2 known programs · Test method

Run it

Expected: ABCDEFGHIJKLMNOPQRSTUVWXYZ

The idea

MiniStringFuck keeps only the two brainfuck commands that print. There is no loop, no input and no second cell, so a program can only count up and print. To go down by one it counts up 255 times and lets the cell wrap.

The machine

CommandDoes
+Add 1 to the cell; 256 wraps to 0
.Print the cell as a byte

Every other character is ignored. The Hello, World! program is 1,326 characters long, almost all of them +.

Example

The first program counts to 65 and prints A, then adds one and prints 25 more times.
Expected: He

The first program counts to 65 and prints A, then adds one and prints 25 more times.

Further

Ideas it shows

MiniStringFuck builds on Brainfuck.

Brainfuck derivatives

Write your own in Run Convert a program from MiniStringFuck

Implementation

JavaScript interpreter, source and command line

A JavaScript interpreter, used in the browser and on the command line. Id: ministringfuck.

Command line

shib run ministringfuck -e '+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.+.'
shib manual ministringfuck

Source

Module
langs/wiki/ports.js
Interpreter
langs/wiki/ministringfuck.js

Docs: Kernel instructions · The .shib format · Command line · Adding a language

Source esolangs.org (CC0) · Edit on esolangs.org