Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!apple!bionet!agate!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.lang.scheme Subject: Re: Self-reproduction Message-ID: <26381@ucbvax.BERKELEY.EDU> Date: 10 Oct 88 22:58:15 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 5 A cute trick, not quite a self-reproducing program, but an interesting example of a string that produces itself, is to take an arbitrary error message, and hand it back to the interpreter as input. On many systems if you repeat this 4-8 times, you reach a fixed point at which no further change occurs. This is also fun with a C compiler.