🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #2879

Re: self-replicating programs

#2879
From: ROTH
Date: Sun, 22 Nov 1987 06:06
24 lines
1493 bytes
>	There was an interesting discussion about self-replicating
>programs a while back in this newsgroup.  Umm, can people send me what
>they posted or what they've saved from it, pretty please...?  Help!
>This was a problem on our regional ACM programming contest, and the
>code for Pascal wasn't short.  I'm trying to show that the code for
>Prolog can be a lot shorter.  Please, help me, <sob>...
>
>						-ag hirai

That one was a pisser, wasn't it?

Pascal truly made that program a nasty thing to do.  (By the way, how did my
team end up doing?  I had to leave before dinner.)  I personally would have
voted for doing the program in lisp.  You know...

(defun x() (pp x))

That would have saved us all a lot of time.  I finally got one at the end, but
didn't get the sucker typed in in time.  Oh well.

Anyhow, I'm a novice in prolog and would appreciate knowing an answer for this.
How about re-posting it?

chiefdan
Technical Details
Message-ID: <309@udccvax1.acs.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bbn!rochester!udel!udccvax1!chiefdan
References: <1399@tulum.swatsun.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!uunet!husc6!bbn!rochester!udel!udccvax1!chiefdan
From: chiefdan@vax1.acs.udel.EDU (ROTH)
Newsgroups: comp.lang.prolog
Subject: Re: self-replicating programs
Message-ID: <309@udccvax1.acs.udel.EDU>
Date: Sun, 22-Nov-87 01:06:58 EST
Article-I.D.: udccvax1.309
Posted: Sun Nov 22 01:06:58 1987
Date-Received: Tue, 24-Nov-87 01:40:20 EST
References: <1399@tulum.swatsun.UUCP>
Reply-To: chiefdan@vax1.acs.udel.EDU (Newsgroups)
Organization: The Lab Rats
Lines: 24