Re: embedded euphoria
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.
> 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
|
Not Categorized, Please Help
|
|