ඞlang without Quine with Quine
The language that refused its quine, with the quine given back.
WE135, 2025 · Turing complete: no · ●○○ easy · esolangs.org
Tested with 3 known programs · Test method
Run it
The idea
WE135 made this in 2025 on top of ඞlang without Quine. There the program ඞ prints seven lines in Chinese about the Sinhala language, and every other program prints ඞ, so the one program that could print itself never does. This version adds one more rule. The seven lines, given as a program, print themselves. Now there is a quine, and it is the language's only output apart from ඞ.
The machine
There is none. Two programs print the text, ඞ and the text itself. Every other program prints ඞ, the empty one too. Each answer ends with a line feed, so the text followed by a line feed prints exactly itself. Input is never read.
The specification's Python reads its program one line at a time with input(), so there the seven lines can never match. This implementation compares the whole program, as the description says.
Example
The second program is the text, and it prints the same seven lines; the console shows them on one.
The second program is the text, and it prints the same seven lines; the console shows them on one. The program ඞ prints them as well.
Patterns it teaches
- Quine: a quine by decree, one text the language is told to give back.
- Every text runs: every text is a program, and all but two print
ඞ.
See also
No-code esolang
Zero-dimensional languages
Write your own in Run Convert a program from ඞlang without Quine with Quine
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: lang-without-quine-with-quine.
Command line
shib run lang-without-quine-with-quine -e 'ඞ'shib manual lang-without-quine-with-quineSource
- Module
langs/wiki/ports.js- Interpreter
langs/wiki/lang-without-quine-with-quine.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org