Talk About Network



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 > Eiffel > Eiffel can't ge...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 860 of 909
Post > Topic >>

Eiffel can't generate ANSI C

by "llothar" <llothar@[EMAIL PROTECTED] > Apr 6, 2007 at 07:14 PM

I'm currently hacking on the Smalleiffel compiler to generate warning
free and valid C code and found that it is impossible to generate
valid ANSI C with Eiffel.

The problem is that in ANSI C you can't cast from functions to data
pointers, but we only have one '$' address of operator and one
'POINTER'.

I solved this with creating a new basic type FPOINTER and patching the
address of operator it generates the correct return type based on the
concrete run feature.


Don't know why i'm writting this in a dead newsgroup, but maybe
somebody like to know about this language error.




 6 Posts in Topic:
Eiffel can't generate ANSI C
"llothar" <l  2007-04-06 19:14:23 
Re: Eiffel can't generate ANSI C
Georg Bauhaus <bauhaus  2007-04-07 13:39:31 
Re: Eiffel can't generate ANSI C
"llothar" <l  2007-04-07 23:19:01 
Re: Eiffel can't generate ANSI C
Ulrich Windl <Ulrich.W  2007-04-12 12:55:54 
Re: Eiffel can't generate ANSI C
"Bernd Schoeller&quo  2007-04-09 14:55:53 
Re: Eiffel can't generate ANSI C
Ulrich Windl <Ulrich.W  2007-04-12 12:53:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Mon May 12 3:20:03 CDT 2008.