Warning: mysqli::__construct(): (HY000/2002): No connection could be made because the target machine actively refused it. in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (2002) No connection could be made because the target machine actively refused it.
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v3hmha$3banl$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v3hmha$3banl$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Malcolm McLean <malcolm.arthur.mclean@gmail.com>
Newsgroups: comp.lang.c
Subject: Writing own source disk
Date: Sun, 2 Jun 2024 12:54:17 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <v3hmha$3banl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 02 Jun 2024 13:54:18 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="933de7759f89e8137006eef02a578335";
	logging-data="3517173"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+7IKJMIgQ+mBBdSHAfu9n/f5JStdHfw1E="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Ac5vBra3+eb6XEai26O07g7jB2I=
Content-Language: en-GB
Bytes: 1986

Writing a prgram which writes its own source to standard output is a 
standard programming problem. It's called a quine. And I have achieved a 
quine. But a serious quine. Not contrived special purpose code, but 
serious codde which can be used to package up source for real. And it's 
completely portable ANSI C. So of course it can't write output to disk - 
that is impossible to achive portably. Instead it writes its own source 
to standard output using a simle XML format called FileSystem, which 
represents the source tree.

And it's very exciting and the very first program has just been written, 
and its on the Baby X resource compiler guthub repository, and I 
encourage eveyone to get involved. I've achieved the goal. Now 
everything needs to be packaged up and presented to make it easy to use.

But this is a fantastic direction for the resource compiler.


https://github.com/MalcolmMcLean/babyxrc


-- 
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm