Deutsch English Français Italiano |
<v3ns0g$ifme$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Richard Harnden <richard.nospam@gmail.invalid> Newsgroups: comp.lang.c Subject: Re: Writing own source disk Date: Tue, 4 Jun 2024 21:04:30 +0100 Organization: A noiseless patient Spider Lines: 46 Message-ID: <v3ns0g$ifme$1@dont-email.me> References: <v3hmha$3banl$1@dont-email.me> <20240603160457.0000010a@yahoo.com> <87zfs2kujn.fsf@bsb.me.uk> <v3lmgq$3psv$1@dont-email.me> <874ja8ltn0.fsf@bsb.me.uk> <v3nn4f$hna4$1@dont-email.me> Reply-To: nospam.harnden@invalid.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 04 Jun 2024 22:04:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="eb38d947c094989ee9775f9e2ac71dee"; logging-data="605902"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18HXZsf2ELN2ORxrE/N2s3Lk8lqinBZk4Y=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:HkeGk5LFghRT3OpoJtDKDNEl/t0= Content-Language: en-US In-Reply-To: <v3nn4f$hna4$1@dont-email.me> X-Antivirus: AVG (VPS 240604-2, 6/4/2024), Outbound message X-Antivirus-Status: Clean Bytes: 3064 On 04/06/2024 19:41, Malcolm McLean wrote: > On 04/06/2024 14:33, Ben Bacarisse wrote: >> Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes: >> >>> On 03/06/2024 14:47, Ben Bacarisse wrote: >>>> Michael S <already5chosen@yahoo.com> writes: >>>> >>>>> On Sun, 2 Jun 2024 12:54:17 +0100 >>>>> Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote: >>>>> >>>>>> Writing a prgram which writes its own source to standard output is a >>>>>> standard programming problem. It's called a quine. >>>>> >>>>> Is it named after Willard Van Orman Quine? >>>> In honour of rather than after since "after" is usually used for >>>> discoverers. It was Douglas Hofstadter who coined the term. >>>> >>> >>> /* source for a quine */ >> >> There seems to be loads missing. How big it the program when it's all >> there or, since it's a quine, what is the size of text it outputs? >> > Yes. Tht's the heart of it. > > I'll start a quine project. But I need to get the babyxfs_shell to a > rather more developed state first to really give bbx_filesystem a good > test and stabilise it. > > The power of BabyXFS quines is that you can just package an arbitrary > program as a quine. Because babyxfs_dirtoxml will simply package up any > source directory for passing to bbx_filesystem_quine. > > So the idea is that when you have BabyXFS incorporated, it is trivially > easy to make your program into a quine, and, for open source, that is > exactly what you need. > Sorry, but I just can't see the point. Seems like you're going tp bloat your app just to add the quine thing. If you want to distribute source, then there's tar, there's git clone, etc. -- This email has been checked for viruses by AVG antivirus software. www.avg.com