b r a y d e n . o r g / Software
/
WebHome
/
LanguagePages
/ QuinePrograms
Edit
|
Attach
|
Ref'd By
|
Printable
|
More
|
Advanced Search
| Full Text
Topic Name
This Web
WebHome
Topic List
Web Statistics
All Webs
Books
Main
Random
Software
TWiki
brayden.org
Home
Monthly Digest
Today's Links
Resumé
Reading List
Books RSS
Random RSS
Software RSS
Other
Dale's Blog
TextDrive
Quines
A Quine is a 'self-producing' program; i.e. a program whose output is its own source code. For example, here's a quine written in Ruby:
printf(s = 'printf(s = %c%s%c, 39, s, 39)', 39, s, 39)
For a terrific discussion of quines, see
the David Madore Quine's page
. If that page is unavailable you can get a zipped copy of it
here
.
--
DaleBrayden
- 29 Dec 2002
quine.zip
: David Madore's Quines page
Edit
|
Attach
|
Ref'd By
|
Printable
|
More
|
Advanced Search
| Full Text
Topic Name
Current Rev: r1.1 - 03 Dec 2005 - 16:00 GMT -
DaleBrayden
, Revision History:
Diffs
| r1.1
© 2003-2011 by the contributing authors.