In computing, a quine is a program (a form of metaprogram) that produces its complete source code as its only output. For amusement, hackers sometimes attempt to develop the shortest possible quine in any given programming language.
Note that programs which take input are not considered quines. This would allow the source code to be fed to the program via keyboard input, opening the source file of the program, and similar mechanisms. Also, a quine which contains no code is ruled out as trivial; in many programming languages executing such a program will output the code (i.e. nothing). Such an empty program once won the "worst abuse of the rules" prize in the Obfuscated C contest (indeed, an empty program is not legal ISO C since it has no main() function, so many compilers will reject it).
Quines are named after philosopher Willard Van Orman Quine (1908–2000), who made an extensive study of indirect self-reference: he coined, among others, the paradox-producing expression, "yields falsehood when appended to its own quotation."
More on [ Quine ]
Source Code Generators :: Metaprogramming

A GNU Make Quine - This is a quine written for make, specifically the gnu version.
Quines - An essay on quines, programs which produce their own listing as output.
Meta Description: [ Some thoughts and explanations about quines (self-printing computer programs) and related concepts ]
The Quine Page - Examples of self-reproducing programs in various languages, with some extensions, including polyglot quines, iterating quines, and quine generators.
Meta Description: [ Various examples of self-reproduction of progr
ams ]
| Casting Reality Girlicious Cap 6 (Parte 1) Gran Final | |
| Next Video | |