Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!ittatc!dcdwest!sdcsvax!ucbvax!ucsfcgl!pixar!jeff From: jeff@pixar (Jeffrey Mock) Newsgroups: net.lang Subject: Re: Cute little liar program (for hackers only) Message-ID: <2849@pixar.pixar> Date: Mon, 23-Jun-86 01:54:36 EDT Article-I.D.: pixar.2849 Posted: Mon Jun 23 01:54:36 1986 Date-Received: Wed, 25-Jun-86 03:46:18 EDT References: <7772@watdaisy.UUCP> <605@ittvax.ATC.ITT.UUCP> <722@mit-trillian.MIT.EDU> Distribution: net Organization: Pixar -- Marin County, California Lines: 8 Keywords: C pascal hack Someone else try the harder case of using this clever `programming methodology' to write a program that produces the text of the program as output. This program will print itself regardless of being compiled with a C or Pascal compiler. I just spent a few minutes trying to do it and the solution isn't as simple as I first thought. jeff mock {ucbvax, sun}!pixar!jeff