Skip to content

Instantly share code, notes, and snippets.

@eMaringolo
Created August 1, 2012 17:23
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eMaringolo/3228968 to your computer and use it in GitHub Desktop.
Save eMaringolo/3228968 to your computer and use it in GitHub Desktop.
Smalltalk Quine
[ :s | Transcript show: s; show: s printString ] value: '[ :s | Transcript show: s; show: s printString ] value: '
@eMaringolo
Copy link
Author

Quine

A quine is a computer program which 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.

Via: http://en.wikipedia.org/wiki/Quine_(computing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment