I am happy to announce Erjang, a JVM-based Erlang VM.

This is *not* a release, just a notice that the project exists, and
that the source code is made available.


How does it work?

It loads Erlang’s binary .beam file format, converts it into
Java’s .class file format, and loads it into the JVM. It will
eventually have it’s own implementation of all Erlang’s BIFs (built-in-
functions) written in Java. Those are being implemented as i stumble
upon them in testing.


Does it work?

The current smoke-screen test searches for all .beam files in the OTP
distribution (there are ~2123 of those), and about 3/4 of those can
now be converted to valid .class files. That does not imply that the
translation is correct.

Erjang currently runs some simple applications like the “ring”, and
“fib” that can be found in src/main/erl. So the major elements of the
core language works (processes, messages, dynamic loading, exceptions,
stack traces, exit signals, spawn, spawn_link…)

There is not port driver, so anything that depends on I/O doesn’t
work. There is also no network connectivity.


Read more here: http://www.erjang.org




--

You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.


Reply via email to