1. Who can code this shit?
- Posted by Mike The Spike <mtsreborn at yahoo.com> Jan 31, 2001
- 476 views
Hmm... Euphoria is pretty good a language to implement dynamic code generation you know? Also excellent to write an OS in. And very qualified to write a dynamic loader in too. Why? Because of call(). You can easily call machine code portably in Euphoria, and generate machine code on-the-fly for direct execution. What I'd like to see coded in Euphoria, is a COFF file loader that extracts the machine code and then allows for functions to be call()'ed. If there's an EU coder out there that knows the COFF format, why not code this? It would allow you to call routines from any C, C++, Pascal, etc. program that has being compiled into object files using a COFF-outputing C compiler. You could embed the object file into a Euphoria source file as a sequence or a constant, and therefore produce a stand-alone Euphoria executable. Robert clamis to have being a compiler engineer before starting work on Euphoria. Then just *why* don't hey code such a library for us? For him it would be easy to do. All we have ever seen contributed by RDS are EDS and some small crappy examples. This library would allow you to mix C and Euphoria on any x86 platform into a single stand-alone executable program. It would be like Euphoria's linker. Rob, anyone, go code this...NOW! Mike The Spike __________________________________________________ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ ____________________________________________________________ T O P I C A -- Learn More. Surf Less. Newsletters, Tips and Discussions on Topics You Choose. http://www.topica.com/partner/tag01