🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4763

Re: Self reproducing programs (was Re: Problems needed!)

#4763
From: Saumya Debray
Date: Sun, 28 Jun 1987 00:40
16 lines
1131 bytes
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
Technical Details
Message-ID: <1790@megaron.arizona.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!husc6!hao!noao!arizona!debray
References: <9819@duke.cs.duke.edu> <6835@beta.UUCP> <754@percival.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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