Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!eneevax!umd5!brl-adm!brl-smoke!broome From: broome@brl-smoke.ARPA (Paul Broome ) Newsgroups: comp.lang.prolog Subject: Re: self-reproducing programs Message-ID: <5829@brl-smoke.ARPA> Date: Mon, 4-May-87 09:15:39 EDT Article-I.D.: brl-smok.5829 Posted: Mon May 4 09:15:39 1987 Date-Received: Tue, 5-May-87 05:11:04 EDT References: <430@ivax.doc.ic.ac.uk> Reply-To: broome@brl.arpa (Paul Broome (CTAB) ) Distribution: world Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 Summary: self-destruction too! In article <430@ivax.doc.ic.ac.uk> cdsm@doc.ic.ac.uk (Chris Moss) writes: >Nobody has yet suggested a Prolog program that reproduces itself, so >here's a start on the lines of the Basic one: > >clone :- > listing(clone). > >Any improvements? No, except to suggest self-annihilation as an opposite of reproduction. Here's a frivolous little program that removes itself. suicide :- abolish(suicide,0).