Jonathan Leto wrote:
I am a Parrot core developer who just recently learned about Neko. I
went to the FAQ on the Neko site and found a very interesting
question:
<snip>
I do not know much about Parrot, so the following is the only question I can really answer...
4) Parrot is written in C while Neko compiler is written... in Neko.

This is also blatantly false. Neko *does* have a core written in C,
just like Parrot. As much as Neko as possible is implemented in Neko,
and the same goes for Parrot. Parrot is actually written in
"C-with-sugar" and there is a build subsystem (written in Perl 5)
which translates this "C-with-sugar" language into pure C. Parrot also
uses NQP heavily to do parsing, i.e. transforming source to Abstract
Syntax Trees. Also, many Parrot subsystems are pure (or mostly) PIR,
such as our testing framework, test_more.pir . We do have some tests
in Perl 5, but they are being transitioned to PIR

I hope this isn't splitting hairs too finely, but what it says is that the Neko _compiler_ is written in Neko (actually NekoML, I believe). The VM is certainly written in C.

-Justin

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

Reply via email to