Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
selfgol [2007-06-07 12:03] – nik | selfgol [2007-10-06 19:47] – 192.168.1.48 | ||
---|---|---|---|
Line 18: | Line 18: | ||
the self-replicating code, used the standard quine code: | the self-replicating code, used the standard quine code: | ||
- | < | + | < |
@s=( | @s=( | ||
q[printf pop@s, @s], | q[printf pop@s, @s], | ||
Line 50: | Line 50: | ||
---- | ---- | ||
- | loosely related,.. some perl quines from -> http:// | ||
+ | ==== some perl quines ==== | ||
+ | |||
+ | loosely related,.. from -> http:// | ||
Author: Tushar Samant | Author: Tushar Samant | ||
- | Note: This will produce itself, and will do so no matter what you set $a to in the beginning. So if the length of $a is n, and the size of the allowed character set is C, then at least C**n out of C**(n+K) strings are self-reproducing Perl programs. | + | Note: This will produce itself, and will do so no matter what you set $a to in the beginning. So if the length of $a is n, and the size of the allowed character set is C, then at least < |
< | < | ||
Line 68: | Line 70: | ||
< | < | ||
$_=q(print" | $_=q(print" | ||
- | paper on writing quines (in C) http:// | ||
</ | </ | ||
+ | |||
+ | paper on writing [[quines]] (in C) http:// | ||
---- | ---- | ||
Libarynth > Libarynth Web > ComputerScience > GeneticProgramming > SelfGOL r5 - 30 Sep 2006 - 16:29 | Libarynth > Libarynth Web > ComputerScience > GeneticProgramming > SelfGOL r5 - 30 Sep 2006 - 16:29 | ||
---- | ---- |