Deutsch English Français Italiano |
<cb7873a392cbcd3a9595ff0a4d534e7a2bd71040@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: fir <profesor.fir@gmail.com> Newsgroups: comp.lang.c Subject: Re: 80386 C compiler Date: Sun, 24 Nov 2024 18:51:22 +0100 Organization: i2pn2 (i2pn.org) Message-ID: <cb7873a392cbcd3a9595ff0a4d534e7a2bd71040@i2pn2.org> References: <vhvbhf$28opb$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 24 Nov 2024 17:51:23 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="3949906"; mail-complaints-to="usenet@i2pn2.org"; posting-account="+ydHcGjgSeBt3Wz3WTfKefUptpAWaXduqfw5xdfsuS0"; User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.19 In-Reply-To: <vhvbhf$28opb$1@dont-email.me> X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 2728 Lines: 45 Paul Edwards pisze: > Hi. > > I have been after a public domain C compiler for decades. > None of them reach C90 compliance. SubC comes the > closest but was written without full use of C90, which > makes it difficult to read. I'm after C90 written in C90. > > A number of people have tried, but they always seem > to fall short. One of those attempts is pdcc. The > preprocessor was done, but the attempt (by someone > else) to add C code generation was abandoned. > > I decided to take a look at it, and it looks to me like > a significant amount of work has already been done. > > Also, my scope is limited - I am only after enough > functionality to get my 80386 OS (PDOS) compiled, > and I don't mind short=int=long = 32 bits, I don't > mind not having float. I don't use bitfields. > > Anyway, I have had some success in making enhancements > to it, and here is one: > > https://sourceforge.net/p/pdos/gitcode/ci/3356e623785e2c2e16c28c5bf8737e72df > d39e04/ > > But I don't really know what I'm doing (I do know some > of the theory - but this is a particular design). > > E.g. now that I have managed to get a variable passed to > a function, I now want the address of that variable passed > to the function - ie I want to do &x instead of x - and I am > not sure whether to create a new ADDRESS type, or > whether it is part of VARREF or what - in the original > (incomplete) concept. Or CC_EXPR_AMPERSAND. > > I am happy to do the actual coding work - I'm just looking > for some nudges in the right direction if anyone can assist. > > Thanks. Paul. > > you mean there is no such a compiler? rise a fund for some to write it and they will write it..and if few thousand of people will give some money there it will be written