Re: 80386 C compiler

Liste des GroupesRevenir à cl c  
Sujet : Re: 80386 C compiler
De : mutazilah (at) *nospam* gmail.com (Paul Edwards)
Groupes : comp.lang.c
Date : 26. Nov 2024, 03:48:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vi3ctf$35r67$1@dont-email.me>
References : 1 2 3 4
User-Agent : Microsoft Outlook Express 6.00.2800.1106
"Kaz Kylheku" <643-408-1753@kylheku.com> wrote in message
news:20241125101701.894@kylheku.com...
On 2024-11-24, Paul Edwards <mutazilah@gmail.com> wrote:
"Janis Papanagnou" <janis_papanagnou+ng@hotmail.com> wrote in message
news:vhvsm9$2bmq9$1@dont-email.me...
On 24.11.2024 15:00, Paul Edwards wrote:
>
I have been after a public domain C compiler for decades.
[...] I'm after C90 written in C90.
>
Why formulate the latter condition if you can bootstrap?
(Did you mean; written in a "C" not more recent than C90?)
>
Yes - written in C90 so that it can be maintained with
just knowledge of C90.
>
And also written in C90 so that it is written naturally
for a C90 programmer, not using a subset of C90
>
But, do yourself a favor and, have it as an extension to allow
non-constant expressions to allow block scoped aggregates:
>
 void fn(int a)
 {
   int x[3] = { foo(), bar(), a }; /* not in C90 */
>
(You don't have to use it in the source code of the thing,
so it can be boostrapped by other C90 compilers without
the extension.)
>
Also, pin down the truncation behavior of / and % to match C99.
(Though, again, without relying on that in the C90 source
of the compiler.)
>
Define the behavior of a [0] array at the end of a struct,
so that the C90 struct hack is "blessed" in your implementation.
The C99 flexible array member cannot be used, after all.
You can have it so that [0] has the same semantics as C99 []
in that role.

I don't have any such code in PDOS, so it is very unlikely I
will be doing anything along those lines.

My goal is to get the existing PDOS source code to compile.
Plus the tools, including the new C compiler. So that there is
a completely public domain infrastructure that can be used as
a base to produce all of the above, and more.

If I was to enhance it to do the above to meet some market
need, it is more likely that it would be a commercial derivative
rather than being public domain.

BFN. Paul.



Date Sujet#  Auteur
24 Nov 24 * 80386 C compiler36Paul Edwards
24 Nov 24 +* Re: 80386 C compiler6fir
24 Nov 24 i+* Re: 80386 C compiler2fir
25 Nov 24 ii`- Re: 80386 C compiler1Paul Edwards
24 Nov 24 i`* Re: 80386 C compiler3Bart
25 Nov 24 i `* Re: 80386 C compiler2BGB
25 Nov 24 i  `- Re: 80386 C compiler1Paul Edwards
24 Nov 24 +* Re: 80386 C compiler24Janis Papanagnou
25 Nov 24 i`* Re: 80386 C compiler23Paul Edwards
25 Nov 24 i `* Re: 80386 C compiler22Kaz Kylheku
25 Nov 24 i  +* Re: 80386 C compiler20Rosario19
26 Nov 24 i  i`* Re: 80386 C compiler19Kaz Kylheku
26 Nov 24 i  i +* Re: 80386 C compiler7Keith Thompson
26 Nov 24 i  i i+* Re: 80386 C compiler5Paul Edwards
27 Nov 24 i  i ii`* Re: 80386 C compiler4Keith Thompson
27 Nov 24 i  i ii `* Re: 80386 C compiler3Paul Edwards
27 Nov 24 i  i ii  `* Re: 80386 C compiler2Keith Thompson
27 Nov 24 i  i ii   `- Re: 80386 C compiler1Paul Edwards
28 Nov 24 i  i i`- Re: 80386 C compiler1Tim Rentsch
27 Nov 24 i  i +* Re: 80386 C compiler9David Brown
27 Nov 24 i  i i`* Re: 80386 C compiler8Kaz Kylheku
27 Nov 24 i  i i +* Re: 80386 C compiler6James Kuyper
27 Nov 24 i  i i i`* Re: 80386 C compiler5Kaz Kylheku
28 Nov 24 i  i i i `* Re: 80386 C compiler4James Kuyper
30 Nov 24 i  i i i  `* Re: 80386 C compiler3Kaz Kylheku
30 Nov 24 i  i i i   +- Re: 80386 C compiler1Tim Rentsch
30 Nov 24 i  i i i   `- Re: 80386 C compiler1James Kuyper
28 Nov 24 i  i i `- Re: 80386 C compiler1David Brown
28 Nov 24 i  i +- Re: 80386 C compiler1Tim Rentsch
30 Nov 24 i  i `- Re: 80386 C compiler1Rosario19
26 Nov 24 i  `- Re: 80386 C compiler1Paul Edwards
25 Nov 24 `* Re: 80386 C compiler5Lynn McGuire
26 Nov 24  `* Re: 80386 C compiler4Keith Thompson
26 Nov 24   `* Re: 80386 C compiler3Lynn McGuire
26 Nov 24    `* Re: 80386 C compiler2Keith Thompson
26 Nov 24     `- Re: 80386 C compiler1BGB

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal