Re: No more platform(), conditional includes, conditional functions, condit
- Posted by Jeremy Cowgar <jeremy at cow?ar.co?> May 15, 2008
- 627 views
Shawn Pringle wrote: > > Everything you are talking about here can be done in the existing syntax > of Euphoria. > > Its a matter of syntax whether you define or not define something; or if you > define it to be one value or another. You just need two builtins: > version_string(), and version_atom(). You can guess what they could do and > why all of this ifdef stuff is surpufluous. > Shawn, do you understand what ifdef/elsifdef stuff does? What you describe is *far* from what ifdef/elsifdef is capable of. ifdef/elsifdef is all compile time decisions. i.e. no runtime performance hits. Code that is not matched does not even get emitted as IL or as C translator code. Please read: http://www.openeuphoria.org/EUforum/m20863.html -- and -- http://www.openeuphoria.org/EUforum/m20891.html After reading that, let me know if you think the ifdef stuff is superfluous. -- Jeremy Cowgar http://jeremy.cowgar.com