Advertise here with Carbon Ads

This site is made possible by member support. ๐Ÿ’ž

Big thanks to Arcustech for hosting the site and offering amazing tech support.

When you buy through links on kottke.org, I may earn an affiliate commission. Thanks for supporting the site!

kottke.org. home of fine hypertext products since 1998.

๐Ÿ”  ๐Ÿ’€  ๐Ÿ“ธ  ๐Ÿ˜ญ  ๐Ÿ•ณ๏ธ  ๐Ÿค   ๐ŸŽฌ  ๐Ÿฅ”

A quine is “a program that generates

A quine is “a program that generates a copy of its own source text as its complete output”.

Reader comments

barlowAug 31, 2004 at 6:48PM

I think a better use of spare time would be to actually read some Willard V. O. Quine books!

willSep 01, 2004 at 11:14AM

Meet the mack daddy of quines: http://www.acm.org/classics/sep95/

NickSep 02, 2004 at 3:43PM

I know a really easy one that works in many languages, the source is listed immediately following the colon:

steveSep 04, 2004 at 2:12AM

A quine is a program that no at all really cares about.

This thread is closed to new comments. Thanks to everyone who responded.