🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4765

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

#4765
From: Erland Sommarskog
Date: Wed, 01 Jul 1987 18:45
16 lines
1193 bytes
In a recent article debray@arizona.edu (Saumya Debray) writes:
>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.

Which reminds of a Pascal compiler written at the University of Copenhagen
for Univac 1100. If you forgot to give it file to compile, it answered:
"No input, blockhead. Try again, this time with a program."


-- 
Erland Sommarskog       
ENEA Data, Stockholm    
sommar@enea.UUCP        
                        
Technical Details
Message-ID: <2045@enea.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!mcvax!enea!sommar
References: <1790@megaron.arizona.edu>

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!mcvax!enea!sommar
From: sommar@enea.UUCP (Erland Sommarskog)
Newsgroups: comp.lang.misc
Subject: Re: Self reproducing programs (was Re: Problems needed!)
Message-ID: <2045@enea.UUCP>
Date: Wed, 1-Jul-87 14:45:46 EDT
Article-I.D.: enea.2045
Posted: Wed Jul  1 14:45:46 1987
Date-Received: Thu, 2-Jul-87 07:04:56 EDT
References: <1790@megaron.arizona.edu>
Reply-To: sommar@enea.UUCP(Erland Sommarskog)
Followup-To: comp.lang.misc
Organization: ENEA DATA Svenska AB, Sweden
Lines: 16