H๐
Six greetings, a way to stop, and everything else is a quine.
OsmineYT, 2019 ยท Turing complete: no ยท โโโ easy ยท esolangs.org
Tested with 4 known programs ยท Test method
Run it
The idea
OsmineYT designed H๐, also written HWorld, in 2019. It can print six fixed greetings and quit. A command it does not know is printed as it stands, so a is a quine, and so is a whole sentence. There is no way to compute anything.
The machine
| Command | Prints |
|---|---|
h | Hello! |
hh | Hello, Hello! |
w | World! |
ww | World, World! |
hw | Hello, World! |
wh | World, Hello! |
q | nothing; the program ends |
The specification does not say how commands are separated. This implementation reads one command per line and puts one line feed between two outputs.
Example
Further
Ideas it shows
See also
Also in Jokes
Write your own in Run Convert a program from H๐
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: h.
Command line
shib run h -e 'a'shib manual hSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/h.js
Docs: Kernel instructions ยท The .shib format ยท Command line ยท Adding a language
Source esolangs.org (CC0) ยท Edit on esolangs.org