Joakim Ahnfelt-Rønne a écrit : > Hey, I made a scripting language called Funk. It is a functional > scripting language with pattern matching and support for imperative > and object oriented programming. (details at > http://code.google.com/p/funkscript/ ) > > It is written in OCaml using ocamllex/-yacc and currently translates > to OCaml which is then compiled by the OCaml compiler. I would like to > rewrite it in NekoML and make it spit out Neko instead. Neko seems to > be very well documented, but I couldn't find much on NekoML. Is there > any more documentation than the short introduction at the nekovm page?
Hi, There's not so much NekoML documentation availale right now. The best documentation is still to have a look at the neko and nekoml compiler sources. > I've also considered writing it in Haxe, which would enable me to > write an interactive tutorial by translating the interpreter to > JavaScript (something like http://tryruby.hobix.com/ ). NekoML seems > to be more suited for writing compilers/interpreters though, with it's > stream pattern matching. Are there any plans to make NekoML spit out > ActionScript or JavaScript like Haxe does? It's not planned right now, since development is mainly focused on haXe. But maybe you could write a NekoML->haXe generator by adding an additional output to the NekoML compiler (you'll already have a typed AST). Best, Nicolas -- Neko : One VM to run them all (http://nekovm.org)
