have the ? .hx extension ?
I knew that one, honest! My mind was ahead of my fingers and it just
got left out!
nekoc only compiled .neko files to .n files
there is a nekoml compiler, which can be compiled when doing "make"
from
the sources distribution, which can compile .nml to .n files.
OK, I'll check out the Makefile for more details on that one.
There is not so much NekoML documentation available, since I'm
focusing
on documenting haXe (and there's a lot to do). The best way to learn
NekoML is to read the sources available in neko/src distribution.
OK.
My end goal is to write a Lisp environment for Neko and I want to
make
sure that I take on board *everything* that is going to save me
time by
not re-inventing a wheel when there is one there or some
alternative route.
Yes, I understand. I think the best for this task would be for you to
learn about NekoML, since once mastered you can reuse entirely the
Neko
compiler, customize it the way you want for your own language, and
generate a standalone executable with a read-eval-print loop
similar to
the Neko Console.
This is *exactly* what I needed to know and hear Nicolas, great!
NekoML differs from OCaml in its syntax and standard library, but most
of the basic Caml features (with the O for objects) are part of
NekoML,
so learning OCaml at first might be good for you since there is more
documentation available (if you don't feel like tackling NekoML
directly
;) )
I already know (not an expert!) OCaml enough to be up to speed which
is good I guess.
NekoML is not that much different from Neko, it adds more syntax, a
ML-style type system and pattern matching.
The pattern matching is the best part for language parsing, the FSA/
NDA thing and all that goes with it. I have studied the sources for a
while but now I think I need lots of coffee, chocolate and a nice
quiet dark room to go away and tinker....
Best,
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)