i'm neck deep in writing the IMC eval code for pugs. if i've already loaded bytecode using Parrot_readbc/loadbc, i can then successfully call the PIR compiler and eval code at will from C/Haskell. great!
however, without the Parrot_readbc step, everything bombs out because the packfile isn't set up correctly. and after looking at packfile.c and embed.c, it's obvious there's a lot more i need to do than just creating a new packfile.
I'll try to create a source test (e.g. t/src/compiler.t) with the necessary steps. It will probably need some clarification in which of embed.h | extend.h (if any) such APIs should go.
-jeff
leo