Definition of "quine"
quine1
noun
plural quines
(computing) A program that produces its own source code as output.
Quotations
Self-reproducing programs are commonly called quines. Do a web search, it should turn up lots of them. There was also a quine thread here in comp.lang.c just days ago, search deja.com (the thread's title was something about self-printing programs, I think).
1999 December 14, Gergo Barany, “CC Hack?”, in comp.lang.c (Usenet)
Why have a one-page chapter that doesn't say anything? At the least, you should present a quine program written in pure ISO C (I can send you one if you like); […] you might refer the interested reader to Ken Thompson's ACM lecture or to another good source of quine-related puzzles. Quines *are* a lot of fun, but why waste time with trivial ASCII-based examples when there are much more fundamental ways to create them?
2003 May 6, Arthur J. O’Dwyer, “‘A to Z of C’”, in comp.lang.c (Usenet)
A respectable quine—one that doesn't cheat—is not allowed to do anything as underhand or trivial as seeking the source file on the disk, opening it, and copying (or printing) its contents. Although writing a quine is not always easy, and in fact may seem impossible, it can always be done in any programming language that is Turing complete (see Turing machine), which includes every programming language actually in use.
2004, David [J.] Darling, “quine”, in The Universal Book of Mathematics: From Abracadabra to Zeno’s Paradoxes, Hoboken, N.J.: John Wiley & Sons, page 264, column 2
SelfGOL can reproduce itself; it can turn other programs into a quine; it can display a scrolling banner; it plays the Game of Life; and it contains no (ordinary) loops, goto statements, or if statements. Control flow is done, well, interestingly.
2005, Simon Cozens, “Fun with Perl”, in Allison Randal, editor, Advanced Perl Programming, 2nd edition, Sebastopol, Calif.: O’Reilly Media, page 260
Yet from a different perspective, it [the semantics of a program] describes the process of producing this very code; in other words, it is because object- and meta-language interrelate that makes a quine difficult; in less reflective programs, where means and ends are more separate, this difficulty is not so obvious.
2008, Julian Rohrhuber, “Implications of Unfolding”, in Uwe Seifert, Jin-hyun Kim, Anthony Moore, editors, Paradoxes of Interactivity: Perspectives for Media Theory, Human-computer Interaction, and Artistic Investigations, Bielefeld, North Rhine-Westphalia: transcript Verlag, part II (Interplay between Art, Science, and Technology), page 179
The solution is to make a quine that is also a λ-expression (instead of a list of statements). This is possible, thanks to S-expressions. The way the quine works relies on the fact that its code is a list of statements and that the last one can take a list of the previous ones as arguments.
2011, Antoine Amarilli [et al.], “Can Code Polymorphism Limit Information Leakage?”, in Claudio Agostino Ardagna, Jianying Zhou, editors, Information Security Theory and Practice: Security and Privacy of Mobile Devices in Wireless Communication […] (Lecture Notes in Computer Science; 6633), Berlin: Springer, archived from the original on 2022-02-06, section 5 , page 14
A Quine is a program that prints its own code. Quines exist for any programming language that is Turing complete and it is a common challenge for students to come up with a Quine in their language of choice. The Quine Page provides a comprehensive list of such programs in various languages.
2012, Thomas Meyer, Christian Tschudin, “Robust Network Services with Distributed Code Rewiring”, in Pietro Lio, Dinesh Verma, editors, Biologically Inspired Networking and Sensing: Algorithms and Architectures, Hershey, Pa.: Medical Information Science Reference, IGI Global, section I (New Biologically Inspired Architectures), page 37, column 1
Upon receiving a "QUINE" request by the client, the server will first send a 01 OK response, and will then provide the client with a quine in the programming language used to implement the server. This quine does not have to be original.
2013 December 8, Brian Hodgert, “‘Mountains will be Mountains’”, in talk.religion.buddhism (Usenet)
verb
third-person singular simple present quines, present participle quining, simple past and past participle quined
To append (a text) to a quotation of itself.
Quotations
Anyway, now I know how to quine a phrase. It's quite amusing. Here's a quined phrase: / "IS A SENTENCE FRAGMENT" IS A SENTENCE FRAGMENT. / It's silly but all the same I enjoy it. You take a sentence fragment, quine it, and lo and behold, you've made a sentence! A true sentence, in this case.
1979, Douglas R[ichard] Hofstadter, “Air on G’s String”, in Gödel, Escher, Bach: An Eternal Golden Braid, New York, N.Y.: Basic Books, part II (EGB), page 435
"Quining" is what I called it in my book. (He certainly didn't call it that!) Quining is an operation that I define on any string of English. […] Here is an example of a quined phrase: "is a sentence with no subject" is a sentence with no subject.
1984, Douglas R[ichard] Hofstadter, “Analogies and Metaphors to Explain Gödel’s Theorem”, in Douglas M. Campbell, John C. Higgins, editors, Mathematics: People, Problems, Results, Belmont, Calif.: Wadsworth International, page 274
Diamond arises in Gödelian meta-mathematics. In meta-math, sentences can refer to each other’s provability, and to quining. This yields self-reference: T = “‘is provable when quined’ is provable when quined.” / D = “‘is unprovable when quined’ is unprovable when quined.” […]
1997, N[athaniel] S. Hellerstein, “Metamathemics”, in Diamond: A Paradox Logic (Series on Knots and Everything; 14), Singapore: World Scientific, part 2 (Advanced Diamond Logic), page 183
In "Love And Theft", [Bob] Dylan quined the love and theft in his songs in the album's title, "Love And Theft". So the subtext, the meaning of the entire album, when preceded by its quotation, its symbol, yields a paradox.
2001 October 1, Howard Mirowitz, “Why is L&T in Quotation Marks?”, in rec.music.dylan (Usenet)
(philosophy) To deny the existence or significance of (something obviously real or important).
Quotations
quine. v. (1) To deny resolutely the existence or importance of something real or significant. "Some philosophers have quined classes, and some have even quined physical objects." Occasionally used intr[ansitively], e.g., "You think I quine, sir. I assure you I do not!"]
, edited by Daniel Dennett, The Philosophical Lexicon, 8th edition, Newark, Del.: American Philosophical Association, distributor, archived from the original on 2024-07-10
As with the puzzle of what happens during the combustion of a metal in pure oxygen (the "steel wool" experiment), this result can of course be quined. Taking the phlogistic view, we could say that the calx requires the same phlogiston content as the metal, so of course the amount of water absorbed must be in accord with that.
1993, Howard Margolis, “The Overthrow of Phlogiston: 2”, in Paradigms & Barriers: How Habits of Mind Govern Scientific Beliefs, Chicago, Ill.; London: University of Chicago Press, page 62
They [some philosophers] deny that mental states and events actually possess the qualitative properties attributed to them by qualia friends and, as a consequence, they advocate quining qualia.
1999, Elizabeth Pacherie, “Qualia and Representations”, in Denis Fisette, editor, Consciousness and Intentionality: Models and Modalities of Attribution (The Western Ontario Series in Philosophy of Science), Dordrecht, South Holland: Springer Science+Business Media, part 2 (Qualia and Perception), page 119
Qualia are quined not because [Daniel] Dennett imagines that there is nothing it is like to be conscious, but because no clear demarcation can be drawn between representations of qualitative properties and representations of other sorts of states.
2000, Don Ross, “Introduction: The Dennettian Stance”, in Don Ross, Andrew Brook, David Thompson, editors, Dennett’s Philosophy: A Comprehensive Assessment (A Bradford Book), Cambridge, Mass.; London: MIT Press, page 14
One of the things that [Ludwig] Wittgenstein is most famous for is quining 'private language'. By saying that private languages can't exist Wittgenstein wanted us to recognize the inescapable function of the social fabric in language's work.
2008, Daniel Barnett, “The Private Language Machine and the Evolution of a Medium”, in Movement as Meaning: In Experimental Film (Consciousness, Literature & the Arts; 13), Amsterdam, North Holland; New York, N.Y.: Editions Rodopi, part II (Dynamic and Syntactic Universals), page 114
One might object that in this section I’ve not exactly quined Cartesian qualia, since my denial of the reality of phenomenal colour comes at the cost of accepting the "qualitative character" of sensory experience, with which contemporary philosophers, in fact, often identify qualia.
2009, Andrew Pessin, “Mental Transparency, Direct Sensation, and the Unity of the Cartesian Mind”, in Jon Miller, editor, Topics in Early Modern Philosophy of Mind (Studies in the History of Philosophy of Mind; 9), Dordrecht, South Holland: Springer, page 34