Quine (computing)
A quine ( ) is a computer program that takes no input and produces a copy of its own source code as its only output. The standard terms for these programs in the computability theory and computer science literature are "self-replicating programs", "self-reproducing programs", and "self-copying programs". A quine is a fixed point of an execution environment, when that environment is viewed as a function transforming programs into their outputs. Quines are possible in any Turing-complete programming language, as a direct consequence of Kleene's recursion theorem. For amusement, programmers sometimes attempt to develop the shortest possible quine in any given programming language.
A quine ( ) is a computer program that takes no input and produces a copy of its own source code as its only output. The standard terms for these programs in the computability theory and computer science literature are "self-replicating programs", "self-reproducing programs", and "self-copying programs". A quine is a fixed point of an execution environment, when that environment is viewed as a function transforming programs into their outputs. Quines are possible in any Turing-complete programming language, as a direct consequence of Kleene's recursion theorem. For amusement, programmers sometimes attempt to develop the shortest possible quine in any given programming language. ==Name== The name "quine" was coined by Douglas Hofstadter, in his popular 1979 science book Gödel, Escher, Bach, in honor of philosopher Willard Van Orman Quine (1908–2000), who made an extensive study of indirect self-reference, and in particular for the following paradox-producing expression, known as Quine's paradox: "Yields falsehood when preceded by its quotation" yields falsehood when preceded by its quotation. ==History== John von Neumann theorized about self-reproducing automata in the 1940s. Later, Paul Bratley and Jean Millo's article "Computer Recreations: Self-Reproducing Automata" discussed them in 1972. Bratley first became interested in self-reproducing programs after seeing the first known such program written in Atlas Autocode at Edinburgh in the 1960s by the University of Edinburgh lecturer and researcher Hamish Dewar. The "download source" requirement of the GNU Affero General Public License is based on the idea of a quine. ==Examples== ===Shortest proper quine=== The shortest non-trivial quine in a major programming language (a "proper" quine) known as of 2020 is the 21 character JavaScript ES6 program ($=_=>`($=${$})()`)() . ===Constructive quines=== In general, the method used to create a quine in any programming language is to have, within the program, two pieces: code used to do the actual printing and data that represents the textual form of the code. The code functions by using the data to print the code (which makes sense since the data represents the textual form of the code), but it also uses the data, processed in a simple way, to print the textual representation of the data itself. a = 'a = {}{}{}; print(a.format(chr(39), a, chr(39)))'; print(a.format(chr(39), a, chr(39))) b = 'b = %s%s%s; print(b %% (chr(39), b, chr(39)))'; print(b % (chr(39), b, chr(39))) Notice that %r will quote automatically. c = 'c = %r; print(c %% c)'; print(c % c) public class Quine { public static void main(String[] args) { char q = 34; // Quotation mark character String[] l = { // Array of source code "public class Quine {", " public static void main(String[] args) {", " char q = 34; // Quotation mark character", " String[] l = { // Array of source code", " ", " };", " for (int i = 0; i The source code contains a string array of itself, which is output twice, once inside quotation marks. This code was adapted from an original post from c2.com, where the author, Jason Wilson, posted it as a minimalistic version of a Quine, without Java comments. Following the introduction of the text blocks feature in Java 15, a more readable and simpler version is possible: public class Quine { public static void main(String[] args) { String textBlockQuotes = new String(new char[]{'"', '"', '"'}); char newLine = 10; String source = """ public class Quine { public static void main(String[] args) { String textBlockQuotes = new String(new char[]{'"', '"', '"'}); char newLine = 10; String source = "%s%s%s%s"; System.out.print(source.formatted(textBlockQuotes, newLine, source, textBlockQuotes)); } } """; System.out.print(source.formatted(textBlockQuotes, newLine, source, textBlockQuotes)); } } This is an example of a modern version of Java 25 code: void main() { String s = """ void main() { String s = %c%c%c %s%c%c%c; IO.print(s.formatted(34, 34, 34, s, 34, 34, 34)); }"""; IO.print(s.formatted(34, 34, 34, s, 34, 34, 34)); } The code above can be executed by simply dropping its content in any file with the extension, such as " ", and then executed with " ". The same idea is used in the following SQL quine: SELECT REPLACE(REPLACE('SELECT REPLACE(REPLACE("$",CHAR(34),CHAR(39)),CHAR(36),"$") AS Quine',CHAR(34),CHAR(39)),CHAR(36),'SELECT REPLACE(REPLACE("$",CHAR(34),CHAR(39)),CHAR(36),"$") AS Quine') AS Quine ===Eval quines=== Some programming languages have the ability to evaluate a string as a program. Quines can take advantage of this feature. For example, this Ruby quine: eval s="print 'eval s=';p s" Lua can do: s="print(string.format('s=%c%s%c; load(s)()',34,s,34))"; load(s)() In Python 3.8: exec(s:='print("exec(s:=%r)"%s)') ==="Cheating" quines=== ====Self-evaluation==== In many functional languages, including Scheme and other Lisps, and interactive languages such as APL, numbers are self-evaluating. In TI-BASIC, if the last line of a program returns a value, the returned value is displayed on the screen. Therefore, in such languages a program consisting of only a single digit results in a 1-byte quine. Since such code does not construct itself, this is often considered cheating. 1 ====Empty quines==== In some languages, particularly scripting languages, an empty source file is a fixed point of the language, being a valid program that produces no output. Such an empty program, submitted as "the world's smallest self reproducing program", once won the "worst abuse of the rules" prize in the International Obfuscated C Code Contest. The program was not valid C (lacking a main() function) and was not actually compiled, but came with a Makefile which used cp to copy the empty file into another file, which would be executed as a shell script to print nothing. ====Source code inspection==== Quines, per definition, cannot receive any form of input, including reading a file, which means a quine is considered to be "cheating" if it looks at its own source code. The following shell script is not a quine: !/bin/sh Invalid quine. Reading the executed file from disk is cheating. cat $0 A shorter variant, exploiting the behaviour of shebang directives: !/bin/cat Other questionable techniques include making use of compiler messages; for example, in the GW-BASIC environment, entering "Syntax Error" will cause the interpreter to respond with "Syntax Error". Quine code can also be outputted visually, for example it's used to visualize the neutral zone in Yars' Revenge, along with syntactic saccharin, to obfuscate the source code. ==Ouroboros programs== The quine concept can be extended to multiple levels of recursion, giving rise to "ouroboros programs", or quine-relays. This should not be confused with multiquines. ===Example=== This Java program outputs the source for a C++ program that outputs the original Java code. import std; int main(int argc, char* argv[]) { char q = 34; std::array l = { " ", "============= >>>>>>>=============", "import std;" "", "int main(int argc, char* argv[]) {", " char q = 34;", " std::array l = {", " };", " for (int i = 19; i >>>>>>>=============", "public class Quine {", " public static void main(String[] args) {", " char q = 34;", " String[] l = {", " };", " for (int i = 2; i public class Quine { public static void main(String[] args) { char q = 34; String[] l = { " ", "============= >>>>>>>=============", "import std;", "", "int main(int argc, char* argv[]) {", " char q = 34;", " std::array l = {", " };", " for (int i = 19; i >>>>>>>=============", "public class Quine {", " public static void main(String[] args) {", " char q = 34;", " String[] l = {", " };", " for (int i = 2; i Such programs have been produced with various cycle lengths: Haskell → Python → Ruby Python → Bash → Perl C → Haskell → Python → Perl Haskell → Perl → Python → Ruby → C → Java Ruby → Java → C# → Python C → C++ → Ruby → Python → PHP → Perl Ruby → Python → Perl → Lua → OCaml → Haskell → C → Java → Brainfuck → Whitespace → Unlambda Ruby → Scala → Scheme → Scilab → Shell (bash) → S-Lang → Smalltalk → Squirrel3 → Standard ML → ... → Rexx (128 (and formerly 50) programming languages) ==Multiquines== David Madore, creator of Unlambda, describes multiquines as follows: "A multiquine is a set of r different programs (in r different languages – without this condition we could take them all equal to a single quine), each of which is able to print any of the r programs (including itself) according to the command line argument it is passed. (Cheating is not allowed: the command line arguments must not be too long – passing the full text of a program is considered cheating)." A multiquine consisting of 2 languages (or biquine) would be a program which: When run, is a quine in language X. When supplied with a user-defined command line argument, would print a second program in language Y. Given the second program in language Y, when run normally, would also be a quine in language Y. Given the second program in language Y, and supplied with a user-defined command line argument, would produce the original program in language X. A biquine could then be seen as a set of two programs, both of which are able to print either of the two, depending on the command line argument supplied. Theoretically, there is no limit on the number of languages in a multiquine. A 5-part multiquine (or pentaquine) has been produced with Python, Perl, C, NewLISP, and F# and there is also a 25-language multiquine. ==Polyglot== Similar to, but unlike a multiquine, a polyglot program is a computer program or script written in a valid form of multiple programming languages or file formats by combining their syntax. A polyglot program is not required to have a self-reproducing quality, although a polyglot program can also be a quine in one or more of its possible ways to execute. Unlike quines and multiquines, polyglot programs are not guaranteed to exist between arbitrary sets of languages as a result of Kleene's recursion theorem, because they rely on the interplay between the syntaxes, and not a provable property that one can always be embedded within another. == Radiation-hardened== A radiation-hardened quine is a quine that can have any single character removed and still produces the original program with no missing character. Of necessity, such quines are much more convoluted than ordinary quines, as is seen by the following example in Ruby: eval='eval$q=%q(puts %q(10210/#{1 1 if 1==21}}/.i rescue##/ 1 1"[13,213].max_by{|s|s.size}#"##").gsub(/\d/){["=\47eval$q=%q(#$q)#\47##\47 ",:eval,:instance_,"||=9"][eval$&]} exit)#'##' instance_eval='eval$q=%q(puts %q(10210/#{1 1 if 1==21}}/.i rescue##/ 1 1"[13,213].max_by{|s|s.size}#"##").gsub(/\d/){["=\47eval$q=%q(#$q)#\47##\47 ",:eval,:instance_,"||=9"][eval$&]} exit)#'##' /#{eval eval if eval==instance_eval}}/.i rescue##/ eval eval"[eval||=9,instance_eval||=9].max_by{|s|s.size}#"##" ==Automatic generation== Using relational programming techniques, it is possible to generate quines automatically by transforming the interpreter (or equivalently, the compiler and runtime) of a language into a relational program, and then solving for a fixed point. ==Variants== ===Hashquines=== A hashquine is a file that contains its own cryptographic hash. It is related to a quine but works differently. A quine is a program that produces its own source as output, while a hashquine is usually a static file, such as an image or binary, that has been constructed so that its cryptographic digest (for example SHA-256) appears inside the file itself. Creating a hashquine normally involves giving the file a region of adjustable bytes and then searching for values that cause the final hash to match the value embedded inside the file. Some hashquines appear as images where the displayed hash is part of the picture and the entire image also hashes to that same value. Hashquines do not execute or print anything. They illustrate fixed points in cryptographic hash functions and are considered a conceptual relative of quines rather than a type of quine in the strict programming sense. ==See also== Diagonal lemma Droste effect Fixed point combinator Self-modifying code Self-interpreter Self-replicating machine Self-replication Self-relocation TiddlyWiki Tupper's self-referential formula Programming languages Quine's paradox Polyglot (computing) ==Notes== ==References== ==Further reading== Douglas Hofstadter: Gödel, Escher, Bach: An Eternal Golden Braid Ken Thompson: "Reflections on Trusting Trust" (Communications of the ACM, 27(8):761-3) ==External links== TiddlyWiki, a quine manifested as a wiki The Quine Page (by Gary P. Thompson) QuineProgram at the Portland Pattern Repository Wiki David Madore's Discussion of Quines Zip File Quine Zip Files All The Way Down An Introduction to Quines — in particular, quines using more than one language Quine Web Page: A standards-conforming HTML+JavaScript web page that shows its own source code HTML Quine: An HTML page that only uses HTML and CSS to show its own source code Quine Challenge for Tom's JavaScript Machine, with a series of interactive hints A Java Quine built straight from Kleene's fixed point theorem, composition and s-n-m A QR code quine
References
- Kuhn, Bradley M. stet and AGPLv3 . retrieved June 14, 2008 · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Kuhn, Bradley M. stet and AGPLv3 . retrieved June 14, 2008." Kuhn, Bradley M. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Kuhn, Bradley M. stet and AGPLv3 . retrieved June 14, 2008." Kuhn, Bradley M. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Kuhn, Bradley M. (2026). Kuhn, Bradley M. stet and AGPLv3 . retrieved June 14, 2008. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- b.m. multiquine . 1 February 2011. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "b.m. multiquine . 1 February 2011." b. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "b.m. multiquine . 1 February 2011." b. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA b. (2026). b.m. multiquine . 1 February 2011. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Dan Piponi. Quine Central . 30 January 2011. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Dan Piponi. Quine Central . 30 January 2011." Dan Piponi. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Dan Piponi. Quine Central . 30 January 2011." Dan Piponi. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Dan Piponi. (2026). Dan Piponi. Quine Central . 30 January 2011. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Ruslan Ibragimov. Quine Ruby -> Java -> C# -> Python . 20 April 2013. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Ruslan Ibragimov. Quine Ruby -> Java -> C# -> Python . 20 April 2013." Ruslan Ibragimov. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Ruslan Ibragimov. Quine Ruby -> Java -> C# -> Python . 20 April 2013." Ruslan Ibragimov. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Ruslan Ibragimov. (2026). Ruslan Ibragimov. Quine Ruby -> Java -> C# -> Python . 20 April 2013. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Shinichiro Hamaji. Quine by shinh (C C++ Ruby Python PHP Perl) . · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Shinichiro Hamaji. Quine by shinh (C C++ Ruby Python PHP Perl) ." Shinichiro Hamaji. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Shinichiro Hamaji. Quine by shinh (C C++ Ruby Python PHP Perl) ." Shinichiro Hamaji. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Shinichiro Hamaji. (2026). Shinichiro Hamaji. Quine by shinh (C C++ Ruby Python PHP Perl) . Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Ku-ma-me. Uroboros Programming With 11 Programming Languages . 22 Septe. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Ku-ma-me. Uroboros Programming With 11 Programming Languages . 22 Septe." Ku-ma-me. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Ku-ma-me. Uroboros Programming With 11 Programming Languages . 22 Septe." Ku-ma-me. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Ku-ma-me. (2026). Ku-ma-me. Uroboros Programming With 11 Programming Languages . 22 Septe. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Yusuke Endoh. Quine Relay - An uroboros program with 100+ programming languages . GitHub . 2 November 2021. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Yusuke Endoh. Quine Relay - An uroboros program with 100+ programming languages . GitHub . 2 November 2021." Yusuke Endoh. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Yusuke Endoh. Quine Relay - An uroboros program with 100+ programming languages . GitHub . 2 November 2021." Yusuke Endoh. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Yusuke Endoh. (2026). Yusuke Endoh. Quine Relay - An uroboros program with 100+ programming languages . GitHub . 2 November 2021. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- David Madore. Quines (self-replicating programs) . · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "David Madore. Quines (self-replicating programs) ." David Madore. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "David Madore. Quines (self-replicating programs) ." David Madore. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA David Madore. (2026). David Madore. Quines (self-replicating programs) . Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Rijnard van Tonder. Pentaquine - 5 part multiquine . GitHub . 14 January 2020. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Rijnard van Tonder. Pentaquine - 5 part multiquine . GitHub . 14 January 2020." Rijnard van Tonder. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Rijnard van Tonder. Pentaquine - 5 part multiquine . GitHub . 14 January 2020." Rijnard van Tonder. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Rijnard van Tonder. (2026). Rijnard van Tonder. Pentaquine - 5 part multiquine . GitHub . 14 January 2020. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Lu Wang. Quine Chameleon#Variants . GitHub . 21 May 2021. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Lu Wang. Quine Chameleon#Variants . GitHub . 21 May 2021." Lu Wang. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Lu Wang. Quine Chameleon#Variants . GitHub . 21 May 2021." Lu Wang. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Lu Wang. (2026). Lu Wang. Quine Chameleon#Variants . GitHub . 21 May 2021. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Yusuke Endoh. Radiation-hardened Quine . GitHub . retrieved 2014-02-24 · retrieved 2014-02-23 · rev 1372446976
Cite this reference
MLA "Yusuke Endoh. Radiation-hardened Quine . GitHub . retrieved 2014-02-24." Yusuke Endoh. 2014-02-23. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Yusuke Endoh. Radiation-hardened Quine . GitHub . retrieved 2014-02-24." Yusuke Endoh. 2014-02-23. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Yusuke Endoh. (2014). Yusuke Endoh. Radiation-hardened Quine . GitHub . retrieved 2014-02-24. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Alman, Ben. GitHub Gist . December 2020. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Alman, Ben. GitHub Gist . December 2020." Alman, Ben. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Alman, Ben. GitHub Gist . December 2020." Alman, Ben. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Alman, Ben. (2026). Alman, Ben. GitHub Gist . December 2020. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Cite book |last1=Byrd |first1=William E. |last2=Holk |first2=Eric |last3=Friedman |first3=Daniel P. |chapter=MiniKanren, live and untagged: Quine generation via relational interpreters (Programming . · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Cite book |last1=Byrd |first1=William E. |last2=Holk |first2=Eric |last3=Friedman |first3=Daniel P. |chapter=MiniKanren, live and untagged: Quine generation via relational interpreters (Programming ." Cite book |last1=Byrd |first1=William E. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Cite book |last1=Byrd |first1=William E. |last2=Holk |first2=Eric |last3=Friedman |first3=Daniel P. |chapter=MiniKanren, live and untagged: Quine generation via relational interpreters (Programming ." Cite book |last1=Byrd |first1=William E. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Cite book |last1=Byrd |first1=William E. (2026). Cite book |last1=Byrd |first1=William E. |last2=Holk |first2=Eric |last3=Friedman |first3=Daniel P. |chapter=MiniKanren, live and untagged: Quine generation via relational interpreters (Programming . Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Quine Program . wiki.c2.com . · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Quine Program . wiki.c2.com ." Quine Program. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Quine Program . wiki.c2.com ." Quine Program. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Quine Program. (2026). Quine Program . wiki.c2.com . Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- JEP 378: Text Blocks . openjdk.org . retrieved 12 October 2025 · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "JEP 378: Text Blocks . openjdk.org . retrieved 12 October 2025." JEP 378: Text Blocks. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "JEP 378: Text Blocks . openjdk.org . retrieved 12 October 2025." JEP 378: Text Blocks. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA JEP 378: Text Blocks. (2026). JEP 378: Text Blocks . openjdk.org . retrieved 12 October 2025. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Simple Java quine, self replicating (Self copying) Java code, with text blocks. This code can be run with Java 15+ . · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Simple Java quine, self replicating (Self copying) Java code, with text blocks. This code can be run with Java 15+ ." Simple Java quine, self replicating (Self copying) Java code, with text blocks. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Simple Java quine, self replicating (Self copying) Java code, with text blocks. This code can be run with Java 15+ ." Simple Java quine, self replicating (Self copying) Java code, with text blocks. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Simple Java quine, self replicating (Self copying) Java code, with text blocks. (2026). Simple Java quine, self replicating (Self copying) Java code, with text blocks. This code can be run with Java 15+ . Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Noll, Landon Curt. 1994/smr - Worst abuse of the rules . IOCCC . retrieved 11 October 2025 · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Noll, Landon Curt. 1994/smr - Worst abuse of the rules . IOCCC . retrieved 11 October 2025." Noll, Landon Curt. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Noll, Landon Curt. 1994/smr - Worst abuse of the rules . IOCCC . retrieved 11 October 2025." Noll, Landon Curt. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Noll, Landon Curt. (2026). Noll, Landon Curt. 1994/smr - Worst abuse of the rules . IOCCC . retrieved 11 October 2025. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Makefile . IOCCC.org . retrieved 4 April 2019 · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Makefile . IOCCC.org . retrieved 4 April 2019." Makefile. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Makefile . IOCCC.org . retrieved 4 April 2019." Makefile. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Makefile. (2026). Makefile . IOCCC.org . retrieved 4 April 2019. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Dan Piponi. A Third Order Quine in Three Languages . 5 February 2008. · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Dan Piponi. A Third Order Quine in Three Languages . 5 February 2008." Dan Piponi. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Dan Piponi. A Third Order Quine in Three Languages . 5 February 2008." Dan Piponi. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Dan Piponi. (2026). Dan Piponi. A Third Order Quine in Three Languages . 5 February 2008. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
- Bruce Ed. Ask and ye shall receive: Self-replicating program that goes through three generations, Python, Bash, Perl . · retrieved 2026-08-30 · rev 1372446976
Cite this reference
MLA "Bruce Ed. Ask and ye shall receive: Self-replicating program that goes through three generations, Python, Bash, Perl ." Bruce Ed. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976. Accessed 25 November 2026.
Chicago "Bruce Ed. Ask and ye shall receive: Self-replicating program that goes through three generations, Python, Bash, Perl ." Bruce Ed. 2026-08-30. https://en.wikipedia.org/w/index.php?oldid=1372446976.
APA Bruce Ed. (2026). Bruce Ed. Ask and ye shall receive: Self-replicating program that goes through three generations, Python, Bash, Perl . Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1372446976
Cite this article
MLA
"Quine (computing)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/quine-computing. Accessed 25 November 2026.
Chicago
"Quine (computing)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/quine-computing.
APA
encyclopegia.org. (2026). Quine (computing). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/quine-computing
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON