> 3. Haxe source files have the

have the ? .hx extension ?

> Questions:
> 
> 1. What are .nml files, are they NekoML source files.

Yes

> 2. Does 'nekoc' differentiate between .neko and .nml files

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.

> 3. Where can I learn more about NekoML, I have OCAML installed on my
> iMac from way back, version 3.09.3

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.

> 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.

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
;) )

> Nicolas, your previous reply was very very useful to me regarding this
> matter; I have spent about two hours looking at the Console.nml source
> and it is very informative.
> 
> Also, I have nearly completed a working VIM syntax file for .neko source
> files which I will polish off soon.

NekoML is not that much different from Neko, it adds more syntax, a
ML-style type system and pattern matching.

Best,
Nicolas


-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to