Sujet : Re: Writing own source disk
De : malcolm.arthur.mclean (at) *nospam* gmail.com (Malcolm McLean)
Groupes : comp.lang.cDate : 06. Jun 2024, 20:24:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3t2dk$1kia9$3@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 06/06/2024 18:00, Ben Bacarisse wrote:
Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
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.
I am just more confused now. Presumably that does not matter since I
don't think you need me to know what's going on. And I am pretty sure
that whatever purpose your quine serves, it is intended to benefit users
who are not at all like me.
I've got too much to do with the BabyXFS project.
I've got the get the shell as good as possible because it is a FileSyatem XML file editor, and it makes the format useful. And documentation needs writing. And I just don't have time for quines, but there is one of the site, and you ought to be able to compile it. I got it to work.
I don't know what you are interested in, but a pure ANSI C shell would be right up your street, I would have thought.
-- Check out Basic Algorithms and my other books:https://www.lulu.com/spotlight/bgy1mm