I downloaded

http://cvs.perl.org/snapshots/parrot/parrot_2002-02-17_140000.tar.gz

to try fooling around with parrot on cygwin.

1) Some files are missing, so make.pl fails. Luckily for me I'm not an
alpha-or-sun-user (missing: jit/sun4/lib.jit and string.jit - they are
there in the archive but 0 bytes in size and seem to fail to extract),
so I just copied the files from i386 to alpha and sun.

2) make.pl succeeds. assemble.pl succeeds but prints ominous warnings
(sprintf not initialized?)

3) pmc2c.pl succeeds, but I cannot for the life of me compile the
resulting c file - all kinds of missing references, and no lib in
sight. 

Besides, wasn't parrot supposed to be a VM and interpret the code,
rather than just compile-to-c? (And, the code doesn't even look like
normal C code - it has a "static char program_code[] = {" which it
executes).

So I'm kind of stuck here, and would welcome any pointers as to how to
start with fooling around with (and executing) parrot assembler code.


Reply via email to