On Sun, Feb 17, 2002 at 08:54:52PM +0100, Gerson Kurz wrote:
> 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).

Yes. You're using a more experimental mode, where it converts the code
to C and expects you to compile and link that. See docs/running.pod
for a description of the different things you can do (and there you'll
notice that the pbc2c.pl path hasn't been made to work under Windows
yet).

You'll most likely want to

1. Write or find a .pasm file
2. Use assemble.pl to convert it to a .pbc file
3. Interpret it with test_parrot

Reply via email to