Re: Loading Rakudo's perl6.pbc from the Parrot embedding API

2010-06-04 Thread Jonathan Leto
Howdy, This PIR code .sub main load_bytecode '/Users/leto/svn/parrot/installed_parrot/lib/2.4.0-devel/languages/perl6/perl6.pbc' .end gives the exact same error message, so this issue does not appear to be specific to the Parrot embedding API. Duke -- Jonathan "Duke" Leto jonat...@leto.n

Loading Rakudo's perl6.pbc from the Parrot embedding API

2010-06-03 Thread Jonathan Leto
Howdy, I am trying to load an installed perl6.pbc from the Parrot embedding API like this: #include "parrot/embed.h" #include "parrot/extend.h" Parrot_Interp interp; int main(int argc, char *argv[]) { Parrot_PMC func_pmc; Parrot_String err, filename; Parrot_set_config_hash(); i