Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!hao!noao!arizona!debray From: debray@arizona.edu (Saumya Debray) Newsgroups: comp.lang.misc Subject: Re: Self reproducing programs (was Re: Problems needed!) Message-ID: <1790@megaron.arizona.edu> Date: Sat, 27-Jun-87 20:40:06 EDT Article-I.D.: megaron.1790 Posted: Sat Jun 27 20:40:06 1987 Date-Received: Wed, 1-Jul-87 02:34:34 EDT References: <9819@duke.cs.duke.edu> <6835@beta.UUCP> <754@percival.UUCP> Organization: U of Arizona CS Dept, Tucson Lines: 16 Summary: trivial solution leonard@percival.UUCP (Leonard Erickson) writes: > In almost any Microsoft BASIC _interpreter_ this "program" will work: > > 10 LIST The *really* trivial solution is the program consisting of the empty string. A "correct" compiler should compile this to produce the empty object program, which when executed will generate the empty string as output. :-), naturally! -- Saumya Debray CS Department, University of Arizona, Tucson internet: debray@arizona.edu uucp: {allegra, cmcl2, ihnp4} !arizona!debray