<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx</link><description>The WebGraphics blog recently had a Javascript quine contest that just ended. I'm totally bummed that I didn't hear about this until it was over. What's a "quine"? A quine is a program which, when run, produces the source code of the program as its output</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Website Scripts &amp;raquo; Fabulous Adventures In Coding : JScript DNA and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#7251297</link><pubDate>Sat, 26 Jan 2008 07:49:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7251297</guid><dc:creator>Website Scripts » Fabulous Adventures In Coding : JScript DNA and Mad Cow Disease</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://websitescripts.247blogging.info/fabulous-adventures-in-coding-jscript-dna-and-mad-cow-disease/"&gt;http://websitescripts.247blogging.info/fabulous-adventures-in-coding-jscript-dna-and-mad-cow-disease/&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7251297" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#231823</link><pubDate>Mon, 20 Sep 2004 17:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:231823</guid><dc:creator>Eric Lippert</dc:creator><description>CJ: Since I don't know what statement you're disagreeing with, it's hard to formulate a reply. :-)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=231823" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#231729</link><pubDate>Mon, 20 Sep 2004 13:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:231729</guid><dc:creator>Gavin Greig</dc:creator><description>Interesting that a self-reproducing program should be called a quine - in the North East of Scotland, a quine is a girl (and a loon is a boy). It's from the same Old English root as &amp;quot;queen&amp;quot;.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=231729" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#231603</link><pubDate>Mon, 20 Sep 2004 03:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:231603</guid><dc:creator>Macneil</dc:creator><description>Of course, the empty file (when accepted by the PL as valid; although it lacks any instructions) is the shortest program that outputs itself.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=231603" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#231117</link><pubDate>Sat, 18 Sep 2004 05:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:231117</guid><dc:creator>C.J. Collier</dc:creator><description>Heya Eric,&lt;br&gt;&lt;br&gt;I disagree.  Unless you do not consider a program that outputs the source code of *another* program a quine.&lt;br&gt;&lt;br&gt;I was working on the Cocoa# project writing just such a tool to generate C, C++ and C Sharp code equivalents when sourcing an Objective C .m file.&lt;br&gt;&lt;br&gt;The whole thing was written in Perl.&lt;br&gt;&lt;br&gt;Since Scarlet was born, I haven't had as much time to maintain it, and the other project devs have rewritten it in C#.&lt;br&gt;&lt;br&gt;If this definition sticks, I would consider any compiler a &amp;quot;quine&amp;quot; as well, as it genrates computer-readable code from human readable code.&lt;br&gt;&lt;br&gt;Okay.  That was just the first couple of paragraph.  I'm going back under :)&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=231117" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#230548</link><pubDate>Thu, 16 Sep 2004 19:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:230548</guid><dc:creator>Sjoerd Visscher</dc:creator><description>I think this is a 92 character quine uncle of the 97 character quine (if I understand quine uncle right):&lt;br&gt;&lt;br&gt;q=&amp;quot;'&amp;quot;,d='&amp;quot;',a='&amp;quot;q=&amp;quot;+d+q+d+&amp;quot;,d=&amp;quot;+q+d+q+&amp;quot;,a=&amp;quot;+q+a+q+&amp;quot;,&amp;quot;+a','q=&amp;quot;'+q+d+&amp;quot;,d='&amp;quot;+d+&amp;quot;',a='&amp;quot;+a+&amp;quot;',&amp;quot;+a&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=230548" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#230542</link><pubDate>Thu, 16 Sep 2004 18:54:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:230542</guid><dc:creator>Sjoerd Visscher</dc:creator><description>Oops, ignore that one.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=230542" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#230538</link><pubDate>Thu, 16 Sep 2004 18:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:230538</guid><dc:creator>Sjoerd Visscher</dc:creator><description>95:&lt;br&gt;&lt;br&gt;q=&amp;quot;'&amp;quot;,d='&amp;quot;',w=q+d,a='&amp;quot;q=&amp;quot;+d+w+&amp;quot;,d=&amp;quot;+w+q+&amp;quot;,a=&amp;quot;+q+a+q+&amp;quot;,&amp;quot;+a',&amp;quot;q=&amp;quot;+d+w+&amp;quot;,d=&amp;quot;+w+q+&amp;quot;,a=&amp;quot;+q+a+q+&amp;quot;,&amp;quot;+a&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=230538" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#230530</link><pubDate>Thu, 16 Sep 2004 18:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:230530</guid><dc:creator>Sjoerd Visscher</dc:creator><description>This one is a modification of lioreans script:&lt;br&gt;&lt;br&gt;q=&amp;quot;'&amp;quot;,d='&amp;quot;',a='&amp;quot;q=&amp;quot;+d+q+d+&amp;quot;,d=&amp;quot;+q+d+q+&amp;quot;,a=&amp;quot;+q+a+q+&amp;quot;,&amp;quot;+a',&amp;quot;q=&amp;quot;+d+q+d+&amp;quot;,d=&amp;quot;+q+d+q+&amp;quot;,a=&amp;quot;+q+a+q+&amp;quot;,&amp;quot;+a&lt;br&gt;&lt;br&gt;It's 97 characters.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=230530" width="1" height="1"&gt;</description></item><item><title>re: JScript, DNA, and Mad Cow Disease</title><link>http://blogs.msdn.com/b/ericlippert/archive/2004/09/15/229995.aspx#230476</link><pubDate>Thu, 16 Sep 2004 16:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:230476</guid><dc:creator>Macneil</dc:creator><description>Well, as long as the language is Turing complete without the extra library functions, and it has the required string class, the recursion theorem says that any computation you can imagine can also obtain its own description.&lt;br&gt;&lt;br&gt;Actually, you don't even need strings, all you need is to output some representation of the program, so an array of integer ASCII values is also fine.&lt;br&gt;&lt;br&gt;Using the recursion theorem, the program can be very easy to understand, though it produces results a little longer than the short-cut versions.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=230476" width="1" height="1"&gt;</description></item></channel></rss>