Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers LCC > Re: lcc and c99...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 21 Topic 977 of 1070
Post > Topic >>

Re: lcc and c99 conformance

by "Antoine Leca" <root@[EMAIL PROTECTED] > Sep 12, 2007 at 07:13 PM

En news:46e7e4cb$0$25912$ba4acef3@[EMAIL PROTECTED]
 jacob navia va escriure:
> Antoine Leca wrote:
>> En news:KKedndzrGaHRYnnbnZ2dnUVZ_gCdnZ2d@[EMAIL PROTECTED]
 Wade Ward va
>> escriure:
>>> How far has lcc come with C99?
>>
>> Nowhere, as far as I know. Pr. Fraser and Pr. Hanson slowed down the
>> work on lcc around 1996 (see the dates of the papers). In this
>> timeframe, there were no C99 standard available.
>>
>> Some provisions for some features of C99 are available within the 4.2
>> (latest) version. However, they might give you false hope: for
>> example, a long long type is forecasted, but it is made equivalent
>> to the long type... Besides 64-bit arithmetic, other areas needing
>> work are VLA, complexes, compounds literals and out-of-order
>> initialisations, mixing declarations and statements, the enhanced
>> for, and small thingies like __func__ or hexadecimal floats.
>
> All that is implemented in lcc-win32

Perhaps. Probably.
However, lcc-win32 is not open source as far as I know, and it is not
really
the same project as lcc for, say, someone interested in compiler writing.
Since the original poster did not make clear that she was after lcc-win32,
I
did a generic answer, targetting lcc (as described by the book etc.) I
believe I was clear enough in my post to redirect the original poster
toward
your work if it was indeed what she was talking about really.


>>> Will lcc likely be good enough in this respect for guys like me,
>>> a cowboy on a keyboard?
>>
>> Sorry, I cannot make sense from your sentence.
>> lcc is a tool to learn how to write compilers. If you are not in the
>> job of writing compilers, lcc is probably NOT "good enough" for you.
>
> lcc-win32 is.

I disagree, because of simple Boolean logic: besides writing compilers, or
translation tools in general, there are other uses to "alternatives"
compilers such as lcc (checking sources for ****tability comes to mind.)
You
cannot assert lcc-win32 is valid for every and each one of these uses,
without even knowing what was the project of the original poster...
Also, I am not sure it is trivial (for Joe R. User, not for Jacob) to
interface lcc-win32 with another C standard library such as Dinkumware's
or
Open Solaris.

Unless Jacob has a clue about the "cowboy on a keyboard", in which case I
welcome him to share it with us.


Antoine
 




 21 Posts in Topic:
lcc and c99 conformance
"Wade Ward" <  2007-09-10 04:24:34 
Re: lcc and c99 conformance
"Antoine Leca"   2007-09-12 14:43:51 
Re: lcc and c99 conformance
jacob navia <jacob@[EM  2007-09-12 15:06:48 
Re: lcc and c99 conformance
"Antoine Leca"   2007-09-12 19:13:44 
Re: lcc and c99 conformance
"Wade Ward" <  2007-09-12 17:11:38 
Re: lcc and c99 conformance
jacob navia <jacob@[EM  2007-09-12 15:05:22 
Re: lcc and c99 conformance
"Wade Ward" <  2007-09-12 17:22:09 
Re: lcc and c99 conformance
Ben Bacarisse <ben.use  2007-10-14 19:03:20 
Re: lcc and c99 conformance
jacob navia <jacob@[EM  2007-10-14 20:21:16 
Re: lcc and c99 conformance
CBFalconer <cbfalconer  2007-10-14 20:45:58 
Re: lcc and c99 conformance
jacob navia <jacob@[EM  2007-10-14 20:45:49 
Re: lcc and c99 conformance
"Charlie Gordon"  2007-10-15 13:14:47 
Re: lcc and c99 conformance
Ben Bacarisse <ben.use  2007-10-14 23:15:08 
Re: lcc and c99 conformance
"Antoine Leca"   2007-10-15 17:51:03 
Re: lcc and c99 conformance
Ben Bacarisse <ben.use  2007-10-14 23:51:23 
Re: lcc and c99 conformance
"Antoine Leca"   2007-10-15 17:38:29 
Re: lcc and c99 conformance
jacob navia <jacob@[EM  2007-10-15 18:03:07 
Re: lcc and c99 conformance
Ben Bacarisse <ben.use  2007-10-15 12:43:44 
Re: lcc and c99 conformance
"Charlie Gordon"  2007-10-15 17:17:43 
Re: lcc and c99 conformance
Ben Bacarisse <ben.use  2007-10-15 18:31:06 
Re: lcc and c99 conformance
Ben Bacarisse <ben.use  2007-10-15 18:44:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 4:54:41 CDT 2008.