1. Congrats, David!
- Posted by Jack Cat <catjackus at YAHOO.COM> Jan 08, 2001
- 644 views
Heh? Does this list still work?? I haven't received any messages since yesterday.... weird... Anyways, Congrats to David Cunny for his OX parser generator! It saves a ton of work when wanting to implement language parsers, INI file readers, or Text To Speech in Euphoria! Euphoria was lacking a parser generator... C has tons of 'em, YACC, BISON, FLEX, etc.. For all yall that don't know how a parser generator works... If you want to, for example, implement a programming language in Euphoria, then you would normally write code to read a source file, break it up into little tokens, wich you then eighter run or translate to another language. Coding this is very boring work, but with a parser generator you just tell a program how your language looks like, and it will output a program that can read a file in that language you specified, break it up into tokens, and prompt you with a token when one is encountered, so you can immediatly translate or run it, or store it away in memory. Pretty cool shit. If you compare writing a programming language from scratch, or writing one using OX, OX saves you 70% of coding time. Mike The Spike __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/
2. Re: Congrats, David!
- Posted by Mike Hurley <mikehurley.1 at NETZERO.NET> Jan 08, 2001
- 615 views
- Last edited Jan 09, 2001
My God! He can be nice! At 05:23 PM 1/8/01 -0800, you wrote: >Heh? Does this list still work?? I haven't received >any messages since yesterday.... weird... > >Anyways, Congrats to David Cunny for his OX parser >generator! It saves a ton of work when wanting to >implement language parsers, INI file readers, or Text >To Speech in Euphoria! >Euphoria was lacking a parser generator... >C has tons of 'em, YACC, BISON, FLEX, etc.. > >For all yall that don't know how a parser generator >works... >If you want to, for example, implement a programming >language in Euphoria, then you would normally write >code to read a source file, break it up into little >tokens, wich you then eighter run or translate to >another language. Coding this is very boring work, but >with a parser generator you just tell a program how >your language looks like, and it will output a program >that can read a file in that language you specified, >break it up into tokens, and prompt you with a token >when one is encountered, so you can immediatly >translate or run it, or store it away in memory. >Pretty cool shit. > >If you compare writing a programming language from >scratch, or writing one using OX, OX saves you 70% of >coding time. > >Mike The Spike > >__________________________________________________ >Do You Yahoo!? >Yahoo! Photos - Share your holiday photos online! >http://photos.yahoo.com/ ----- Mike Hurley EMail: mikehurley.1 at netzero.net Web: http://members.xoom.com/MikesEuWeb/ Shop Safely Online Without a Credit Card http://www.rocketcash.com
3. Re: Congrats, David!
- Posted by David Cuny <dcuny at LANSET.COM> Jan 09, 2001
- 619 views
MTS wrote: > Heh? Does this list still work?? I haven't received > any messages since yesterday.... weird... Sounds familiar. > Anyways, Congrats to David [Cuny] for > his OX parser generator! 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
4. Re: Congrats, David!
- Posted by David Cuny <dcuny at LANSET.COM> Jan 09, 2001
- 612 views
- Last edited Jan 10, 2001
Brian Broker wrote: > I thought it was a Euphoria to Java translator? no? D'oh! And I even changed it around after I had written it, thinking I was correcting it. -- David Cuny
5. Re: Congrats, David!
- Posted by Brian Broker <bkb at CNW.COM> Jan 09, 2001
- 601 views
On Tue, 9 Jan 2001 08:07:59 -0800, David Cuny wrote: >MTS wrote: > > >> Heh? Does this list still work?? I haven't received >> any messages since yesterday.... weird... > >Sounds familiar. > >> Anyways, Congrats to David [Cuny] for >> his OX parser generator! > >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 thought it was a Euphoria to Java translator? no? -- Brian
6. Re: Congrats, David!
- Posted by =?iso-8859-1?B?VG9uZSBTa29kYQ==?= <tone.skoda at SIOL.NET> Jan 12, 2001
- 601 views
- Last edited Jan 13, 2001
> A Euphoria to C translator written in Euphoria is > realy what a lot of us would want to see... > > > Mike The Spike Robert, why didn't you write E2C in Euphoria? It seems Euphoria is totally capable of doing this job. Are you affraid it would be too slow? Which language was it?
7. Re: Congrats, David!
- Posted by Jack Cat <catjackus at yahoo.com> Jan 09, 2001
- 614 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/
8. Re: Congrats, David!
- Posted by Robert Craig <rds at RAPIDEUPHORIA.COM> Jan 12, 2001
- 606 views
Tone Skoda writes: > Robert, why didn't you write E2C in Euphoria? It seems > Euphoria is totally capable of doing this job. Are you > affraid it would be too slow? Which language was it? The Translator shares the same "front-end" (scanner, parser etc., written in C) as the interpreter. This allows me to re-use existing code and maintain maximum compatibility between the interpreter and the translator. If you've run the Translator, you'll know that it only takes a few seconds to translate a large Euphoria program into C. Your C compiler will likely take longer just to compile one of the many .c files that are produced. If the Translator had been written in Euphoria, the speed would have been acceptable, even using the Euphoria interpreter to run it, but of course you would translate the Translator into C and get something very close in speed to one done in hand-written C. As an isolated, stand-alone project, done from scratch, I would definitely have done it in Euphoria. Coding in Euphoria saves you a lot of time and headaches compared to C. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com