4 ms·
Reminds me of a quine - a non-empty computer program which takes no input and produces a copy of its own source code as its only output https://en.m.wikipedia.
by jzox 10y ago
Reminds me of a quine - a non-empty computer program which takes no input and produces a copy of its own source code as its only output
https://en.m.wikipedia.org/wiki/Quine_(computing) https://en.m.wikipedia.org/wiki/Quine_(computing)
- totalZero 10y agoStubbornness and vanity. Except in code form.
- fdej 10y agoIt is literally a quine, viewed as a program in a language where (for example) the code consists of a regular expression and the output is the sequence of all strings matching that regular expression.
- deleted 10y ago[deleted]
- j4_james 10y agoIn the esolang community, the name for this variation of Quine is a Narcissist or Narcissus program. You can see a bunch of examples in a number of different languages on the Rosetta Code website. https://rosettacode.org/wiki/Narcissist https://rosettacode.org/wiki/Narcissist
- joegreen 10y agoIt also reminded me about quines, I especially like the Quine Relay project which uses 100 different programming languages (each producing an input for the next one) to finally produce its own code https://github.com/mame/quine-relay https://github.com/mame/quine-relay