AAAAAAAAAAAAAAaaaaaaaaaEEEEEEEaaaaaaaaaaaa
Its own name is a valid program, and it does nothing.
Linker-Error, 2023 · Turing complete: unknown · ●○○ easy · esolangs.org
Tested with 2 known programs · Test method
Run it
The idea
Linker-Error made this joke language in 2023. A program is at most 999 characters and the memory is 26 bytes, one for each letter. A capital letter adds 1 to its cell and a small letter takes 1 away, so typing is counting. The name itself adds 14 to cell A, takes 21 away again, adds 7 to cell E and prints nothing.
Read the story
The specification lists its quirks as intended. After _A prints cell A, the A still runs on its own and adds 1. The jump ^ goes to a place its author says they forgot, so this implementation stops with an error where it would jump. When its cell is not 0 there is no jump, and its letter runs on its own as usual.
The machine
| Command | Does |
|---|---|
A to Z | Add 1 to that letter's cell |
a to z | Take 1 from that letter's cell |
_x | Print cell x as a byte, then run x |
`x | Read a byte into cell x, then run x | |
^x | Jump if cell x is 0, which stops the run here; else run x |
Cells start at 0 and wrap at 256. Other characters up to z do nothing. A character past z, a program longer than 999 characters and a ^ whose cell is 0 stop the run with an error.
Example
The Hello World counts each letter of the greeting into its own cell, 72 A's for H, 69 B's for E and so…
The Hello World counts each letter of the greeting into its own cell, 72 A's for H, 69 B's for E and so on, 818 characters in all. Then it prints the 11 cells in order. Every count is a capital, so it shouts.
A one character cat has to undo the quirk. `a reads into cell A and then takes 1 from it, so A puts the 1 back before _A prints.
See also
Cell-based
Write your own in Run Convert a program from AAAAAAAAAAAAAAaaaaaaaaaEEEEEEEaaaaaaaaaaaa
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: aaaaaaaaaaaaaaaaaaaaaaaeeeeeeeaaaaaaaaaaaa.
Command line
shib run aaaaaaaaaaaaaaaaaaaaaaaeeeeeeeaaaaaaaaaaaa -e 'AAAAAAAAAAAAAAaaaaaaaaaEEEEEEEaaaaaaaaaaaa'shib manual aaaaaaaaaaaaaaaaaaaaaaaeeeeeeeaaaaaaaaaaaaSource
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org