Has anybody implemented an scalable asynchronous event based language on
top of Neko VM (think Erlang and/or IO)?
Hi Stéphane,
- Is there other languages than NekoML and Haxe implemented on top of it?
Some experiments have been done to run existing languages (Ruby,Lisp) on
top of Neko but I don't know if there was languages designed to run on
Neko (except NekoML and haXe of course).
- Is there a tutorial/example to show how to create another language on
top of it?
Not really.
What you need to do in order to create a language targeting Neko is :
a) read the full Neko specification at http://nekovm.org/specs and think
about mapping your language X to Neko
b) write a code generator that can convert a program written in language
X into another Neko program that performs the will you the same result.
After that, in order to ease your program X error reporting, you can use
the NXML format when generating your neko programs. See
http://nekovm.org/doc/nxml
- Is there some facility regarding asynchronous event management in Neko?
There's a multithreading API available
(http://nekovm.org/doc/view/thread), with two primitives thread_send and
thread_read_message that can be used to exchange messages between
threads. You can also implement message queues with the thread locks.
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)