Arsel
A Really Small Esoteric Language. Three commands walk a pointer along a board of 37 characters.
Kirbyiseatinghumanmeat, 2021 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
Kirbyiseatinghumanmeat made Arsel in January 2021. The name stands for A Really Small Esoteric Language. A fixed board holds the 26 lower case letters, the digits 1 to 9 and 0, and a space. A program can only step a pointer along it, print what it points at, and send it back to the start. It has no input, no memory and no loop, so every program stops.
The machine
| Command | Does |
|---|---|
+ | Move the pointer one place on |
0 | Print the character at the pointer |
< | Move the pointer back to 0, on a |
Every other character is a comment. The Ruby interpreter prints nothing for a pointer past the space.
Example
A hello on one line.
A hello on one line. Each letter counts up from a and resets after. The last group has 46 +, past the end of the board, so it prints nothing.
The specification also gives a shorter version that counts on from the last letter. It starts with six + instead of seven, so it prints g where it means h.
Without a reset the pointer can only go forward, so h and then i is one more step.
Patterns it teaches
- Encoding tricks: letters in order cost less than letters out of order.
Further
See also
Also in Jokes
Write your own in Run Convert a program from Arsel
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: arsel.
Command line
shib run arsel -e '++++++0<++++0+++++++00+++0'shib manual arselSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/arsel.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org