Re: Re: GEC Compilation of Externals
"Franck Arnaud" <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
Brian Heilig: > The disadvantage to the ECMA approach with inline functions is that > things like stack tracing and assertions are more difficult to > implement. At worst you have to add a wrapper function that contains the assertions/stack tracing, and calls a C function with the raw alias content. Not difficult! And you get clean semantics, unlike the current thing where your scope is filled with unwanted rubbish which makes it more hazardous what may work or not portably. ECMA seems just right on this. > First the content of C_text must be a sequence of valid C statements. No, because then every Eiffel compiler must contain (some of) a C compiler and ECMA define C... it should do the very minimum possible (like replacing $vars). > If you want to return a value you can assign the value to $Result as in... I'd rather do it the C way in C. ------------------------ Yahoo! Groups Sponsor --------------------~--> Home is just a click away. Make Yahoo! your home page now. http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: gobo-eiffel-unsubscribe-B11MqFFcr06IwRZHo2/[email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/gobo-eiffel/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/