Re: Congrats, David!
- Posted by Jack Cat <catjackus at yahoo.com> Jan 09, 2001
- 563 views
David Cuny wrote: >> I don't really like pre-announcing stuff, but since >> you also brought up Java >> the other day, I'll mention that work is progressing >> well on my Java to >> Euphoria translator. >> The translator is a complete rewrite of my Java to >> Euphoria translator, >> borrowing heavily from what Robert has done with >> EC. >> Much of the 'core' grammar has been coded, and >> enough library routines have >> been written for it to translate simple, >> non-interactive demos such as Buzz, >> Queens, Sieve after minor modifications. >> -- David Cuny I'm sorry I misspelled your name, David :) Won't happen again! ;) I downloaded the latest version of Euphoria To Java yesterday, and must say that I'm impressed. This is an excellent tool, that could go commercial if you wanted to. But there are two things that can be done better. For one, use the Vector type in Java to emulate sequences, in my oppinion they are much faster. And two, Java is very popular because most Web Browsers can run Java applets. Therefore, why not add some browser-specific built-in routines to the Euphoria syntax wich can be used by Eu coders to create Java applets easier for their web pages. That way, Euphoria can be used virtually to create web pages. But if you can code a Euphoria to Java translator (and proved you can), then why not try to write a Euphoria to C or C++ translator? Java syntax is almost identical to Cn just with a few obfuscating improvemnts here and there. That way, you can write a Euphoria to C translator wich uses your own built-in routines wich might be faster than RDS', plus, you can support any compiler and target platform (like Consoles) you want if you output C code only without precompiled libraries, and add some #ifdef's to platform-specific code. With your excellent OX parser generator, and your programming skills and experiance, you could do this very easily. In my oppinion, you are the best Euphoria programmer ever, Pete Eberlein coming second, and Mic third. If you'd do something similiar, I'd be happy to write run-time Euphoria library routines for all platforms for you. And I'm sure others would contribute aswell. Because you allready have the skills to translate to Java, wich in my oppinion is even harder to do than when translating to C, I think you should go for it. Even a small translator would be cool, so others like me could hack away on it and add features. A Euphoria to C translator written in Euphoria is realy what a lot of us would want to see... Mike The Spike __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/