Re: embedded euphoria
"Cuny, David@DSS" wrote:
> Jeff wrote:
>
> > I was working on an Euphoria interpreter in Java
> > before, but I was disappointed with the perfornance
> > of my progran and discontinued it.
>
> I'm working on a Euphoria to Java translator; you can find it at:
>
> http://www.lanset.com/dcuny/java.htm
>
> My implementation of sequences is pretty lame, so I've been rewriting the
> library to implement them somewhat more efficiently, keeping track of
> reference counts and so on. I've been sidetracked for the last month, so
> there hasn't been much progress.
I downloaded your euphoria to java converter when you first announced it, but I
was (and still am) running Linux and JAVA.EX uses dos shell commands which are
incompatible in Linux.. Sorry I didn't mention yoir project in my e-maill - I
had forgotten you were already working on such a program. If you want to make
your program compatible with Linux, use rm -f instedad of del and use mv
instead of rename.
>
>
> > Java isn't that much slower than C, though, so
> > I don't think writing it in Java would be too
> > much of a performance problem.
>
> I agree. I was amazed how much faster the new Java interpreters are.
>
> > I'd be glad to help develop [a] Euphoria
> > interpreter in Java if anyone has any interest
> > in doing so.
>
> I considered writing an interpreter briefly, but figured a translator would
> get more bang for the buck. Along the lines of what Robert is doing with the
> C translator, you could develop the code with the Euphoria interpreter, and
> then generate source in Java, with minimal type checking.
>
> I'd written a Euphoria interpreter in Euphoria some time back, and there's a
> bit of a performance hit. Writing 'pure' Java code would have take care of
> that.
>
> But I'm quite interested in seeing what you've done, and think a Euphoria
> interpreter in Java would be very cool.
>
> -- David Cuny
The program I had written before was part of my bytecode Euphoria project. I
never got very far with it, and I don't think I have it anymore - the rest of
my bytecode euphoria files are on my website at
http://JJProg.tripod.com/compiledeu.html, including an interpreter in C++ and
an interpreter in Euphoria. Currently, the compiler doesn't parse standard
Euphoria, but a high-level assembly language with Euphoria sequences and
functions. I haven't done much work on it lately, though.
Jeff Fielding
|
Not Categorized, Please Help
|
|