EPP and Euphoria to C/Java
- Posted by Jeffrey Fielding <JJProg at CYBERBURY.NET> Dec 03, 2000
- 431 views
In order to write an Euphoria to C/Java translator, I've decided to add some functionality to my EPP (Euphoria Pre-Processor) program. I just finished writing a simple parser which converts the tokens into a tree, and added it to EPP. The parser needs some cleaning up, but I've tested it pretty thouroughly by parsing ed.ex and several other large files, and it works fine (as far as I know) for all Euphoria syntax. I'm planning on cleaning up the parser (so the tree format is subject to change) and perhaps adding some stuff to EPP, such as structures or a very simple (and slow) interpreter. Then I'll work on the translator... as soon as I have the time. In the meantime, you can get the latest version of EPP (sorry, there aren't many pre-processor features yet, though I did write a program to do enums in Euphoria) at http://JJProg.tripod.com/epp.html Jeff Fielding