Re: C to EUphoria?
- Posted by "Greg Haberek" <ghaberek at gmail.com> Mar 04, 2006
- 406 views
> Interesting thought I had today, is there any work being done on converti= ng C > code to EUphoria? I had a crazy notion of re-optimizing the source code > for the old Quake II engine mostly for S&G (hopefully more G than S) and = I > know I could probably use it as an excuse to actually work wholeheartedly= on > a project for one of my programming classes. Up to now, it runs using st= andard > straight C code. I know theres a EUphoria to C converter. I suppose it = is > possible that as EUphoria is relatively incomplete, it might be impossibl= e, > but I think it'd be pretty fun. That sounds like a rather daunting task. I've looked at the Quake II source and its pretty long. You would have to sit down and rewrite it line-by-line. You'd probably have to write a lot of little functions for the various macros (#define statements that operate on variables). If you choose to take it on, then I bid you good luck. And I just hope C is your first language, not Euphoria. Making sense of C when you don't know it is about as easy as learning German if you only know English. It can be done, but there is some difficulty involved, and you'll probably never get it 100%. ~Greg P.S. Its Euphoria, not EUphoria.