Quines (again)

What are quines?


Christopher J. Meisenzahl CPS, CSTE
Senior Software Testing Consultant


-----Original Message-----
From: ADATE [mailto:ADATE@kc.rr.com]
Sent: Tuesday, August 20, 2002 9:31 PM
To: ruby-talk
Subject: Re: quines (again)


Always good to know some clever quines.

– Shanko

“Bill Kelly” billk@cts.com wrote in message
news:001101c2487e$6d657500$fa7b1b42> @musicbox


Sorry if this is annoying, 'cause I
know we’ve done quines before, but

I just came up with this one, and was all “stoked and
stuff” (to use
80’s southern california vernacular :wink:

p eval _=“print 'p eval =’;


Quine: program that prints out its own source code.

See http://www.nyx.net/~gthompso/quine.htm for more than you ever wanted to
know about quines (site also has some great links to other programming
trivia type stuff).


On Wednesday 21 August 2002 07:37, christopher.j.meisenzahl@citicorp.com wrote:

What are quines?

Michael C. Libby x@ichimunki.com
public key: http://www.ichimunki.com/public_key.txt
web site: http://www.ichimunki.com

What are quines?


They are self-reproducing computer programs; i.e., those whose output is
the same as the source code.

This usage of the term “quine” seems to have been coined by Douglas
Hofstadter (I first saw Hofsteader use that term in his book “Gödel,
Escher, and Bach”, although he may have coined it previously), in honor
of the logician Willard Van Orman Quine, who extensively studied and
wrote about the concept of self-reference.

For more information about W. V. Quine, check out his (apparently)
offical home page:


It’s maintained by a family member of his.


Lloyd Zusman

christopher.j.meisenzahl@citicorp.com writes:

What are quines?




Jim Menard, jimm@io.com, http://www.io.com/~jimm/
“Build a man a fire and he’s warm for the rest of the evening.
Set a man on fire and he’s warm for the rest of his life.”
– Steve Taylor, in comp.lang.smalltalk

:quine: /kwi:n/ /n./ [from the name of the logician Willard van Orman
Quine, via Douglas Hofstadter] A program that generates a copy of its
own source text as its complete output. Devising the shortest
possible quine in some given programming language is a common hackish

(see http://www.nyx.net/~gthompso/quine.htm)


christopher.j.meisenzahl@citicorp.com wrote:

What are quines?


Use your computer to help find a cure for cancer: http://members.ud.com/projects/cancer/

Yahoo IM: michael_s_campbell

Do You Yahoo!?
HotJobs - Search Thousands of New Jobs