|
![](/i/fill.gif) |
triple_r <nomail@nomail> wrote:
> Did you run it? If you run it, the output is a different beautifully-formatted
> c-code. If you run that, the output is another formatted c-code. If you run
> that, the output is another formatted c-code. If you run that, the output is
> the first result again. Basically:
> original -> #1
> #1 -> #2
> #2 -> #3
> #3 -> #1
It's one of the best self-replicating programs I have ever seen.
Most self-replicating programs just replicate themselves, and that's it.
No ascii art either.
This program, however, prints a different program, which prints a third
program, which prints the original program. And all these programs use
ascii art formatting. That's some self-replication there.
It's just incredible how he could store the *shapes* of all four programs
inside a single self-replicating program.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |