Robert, Take Notes!
- Posted by Jack Cat <catjackus at YAHOO.COM> Dec 30, 2000
- 487 views
Allright allright... Woah this Euphoria to C translator is pretty cool! Let me pay good money for it! Waw! What a good idea from Robert Craig to write a Euphoria to C translator! He's a genius! Look at him! He's so smarty-ass! Oh zupah l33t hax0r! Let me bow down infront of your shining armor, kiss your noble feet, and lick the lint beneath you toe-nails! Heh? Wha? No kidding??? It was "MIKE THE SPIKE"'s idea?? What? He set things up so he would get RDS to write a translator? Realy??? Well hell yeah it was me who's to thank for all of this. And why didn't I get a free copy? Huh? Why do you act like an ass and not send me one?? I don't see "Disclaimer: All messages posted on this list become the intelectual property of RDS" written beneath this page, do you want me to sue you? Well hell, thanks a lot folks, you think my job is done now huh? The translator is out by now, why even bother listening to MTS anymore? Did you know it is IMPOSSIBLE to order Euphoria from Belgium? Why? Because you have to be a millionair in Belgium before the bank gives you a creditcard! This ain't the US! The King Of Belgium don't even have a creditcard! And postal order? Haha! That's funny, wait 3 weeks for RDS to tell you "Go download it there"? Well Rob, eventhough I hate your white ass right now, you cheapskate, take notes of these easy-to-follow tips on how to improve the translator; 1. (easy) I said this in a previous post, don't declare 'int _0, _1, _2, _3' in a function if this function does not use these vars. You will save memory and increase callspeed doing this. 2. (easy) Add support for the 'import' header directive. doing so, you can support 'import foo.c' aswell. Any Euphoria source file that imports a C file is able to call all functions available in that C file in Euphoria. Plus, 'import foo.dll' should be allowed aswell, simply pass the symbol for an external function call found in the euphoria source file to GetProcAddress() in exw/ecw*.lib to call it. This would take about 10 minutes to implement in both exw and ecw*.lib. If you want, I'll even write you the source. 3. (easy) Get rid of 'machine()' in translated Euphoria source! It slows things down dramatically! 4. (easy) Gotos? They whent out in the 60's! They're bad coding style aswell, not to mention unreadable! Believe me, using C flow control statements makes things faster! The compiler often optimizes these to jump tables and whatnot. 5. (medium) Add support for the 'as' header directive. Doing so, you can support 'as c_lib', 'as c_source' and 'as dll'. 'as c_lib' compiles the file where this directive is found as a .lib or .a file, wich exports Euphoria functions wich C/C++/Euphoria programs can call. 'as dll' compiles the source into a DLL or shared library, exporing all global routines and variables. 6. (hard) And while you're at it, why not add a portable ANSI dll library such as Stonewheel to the interpretter wich allows you to call routines in lib/.obj/etc. files as if they were DLLs? This way, people can write routines in C/C++ and call them using the interpretter. Or even allow people to re-write parts of the interpretter using this method. You know what? I'm out of a job right now, eversince L&H stocks dropped to the basement (watch the news you ass!). So, why not hire me so I can put in all this stuff myself? Want my resume? Well, OK, but only if you don't have a heart dissease, cos it looks better than Bill Gates'! Hell, forget the job, drag me into the team, I'll code on Eu for free. Wha? You're afraid to give out source to a psycho like me? (hehe...) NP man, you just send me the interpreter core allready compiled, and I'll work on the library functions and the parser, etc. I'll show you how to field-kick Euphoria into the mainstream! 2 weeks in my hands and Microsoft won't even sell the Learners edition of VB anymore! A graphical GUI tracer for all platforms, more powerfull than Win32lib and portable, an IDE that looks like VB on steroids, a database.e and a network.e library wich make SQL look like last year's shareware misser. Yeah, I know I'm good....and so do you.... :p Mike The Spike __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/