At 09:38 PM 2/17/2002 +0100, Gerson Kurz wrote:
>~/parrot>assemble.pl examples/assembly/euclid.pasm >test.pbc
>~/parrot>pbc2c.pl test.pbc >test.c
>Use of uninitialized value in sprintf at lib/Parrot/OpTrans/CGoto.pm line
>97.
>~/parrot>

Just run the bytecode with the interpreter instead.

../test_parrot test.pbc

In your original post you said:

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

You were correct, I'm not sure why you thought pbc2c was the
default method of running parrot files. I thin pbc2c is just a proof
of concept toy.

Good luck,

-Melvin
-Melvin

Reply via email to