Re: Palm Pilot porting
- Posted by "Unkmar" <L3Euphoria at bellsouth.net> May 31, 2004
- 564 views
Tweaking the translator. Ok. But don't forget. Even the translator will now be written in Euphoria. The point, is that any language, once it has suffecient ability. Can be its own translator and interpretter. You can build a better interpretter using the current interpretter. Then use the better interpretter. That's what we have done with computers. The better, faster PC's were created from the technology of older slower PC's. We wouldn't be here without them. Another real world analogy. A blacksmith creating a hammer. He has to have metal. Which he can melt in his furnace. He then has to shape the molten metal. What does he use to shape the metal into a hammer? An anvil and hammer. unkmar ----- Original Message ----- From: "Juergen Luethje" <j.lue at gmx.de> To: <EUforum at topica.com> Sent: Monday, May 31, 2004 5:35 AM Subject: Re: Palm Pilot porting > > > Irv wrote: > > > Juergen Luethje wrote: > > > >> And just out of a layman's curiosity: > >> With new Euphoria versions 2.5 and later, which in great parts are > >> not written in C anymore, but in Euphoria itself, the process of > >> porting Euphoria to other operating systems will become more difficult, > >> right? I just think so because in contrast to Euphoria, the C language > >> already exists on almost any platform. > > > > Just guessing here, but I would expect porting to be easier - there should > > now be fewer low-level routines which must be written in the host language. > > Concerning the low-level routines, I also think so. > > But how is it possible that a Euphoria interpreter, written in Euphoria, > runs on a platform, where it is the first Euphoria programm at all?> > I think the Euphoria interpreter must be translated by the Eu-to-C > translator beforehand. But in order to create a translated program that > will run on the new platform, I think the translator must be adapted > first. So maybe tweaking the translator will be the clue for porting > Euphoria to other platforms in the future? > > Regards, > Juergen >