On Tue, Aug 05, 2003 at 11:48:25PM +0200, Leopold Toetsch wrote: > All packfile.c based utilities are fine, as disassemble.c is[1]. > F<pdump> has a --disassemble option too. These tools are ok. Only the > handrolled (sorry) perl stuff isn't working. If someone want's to get > handrolled (sorry) perl stuff isn't working. If someone want's to get > Inline::C::Parrot::ByteCode a try I'm all for it. Writing such utilities > in plain C is not really nice. There is a F<PakFile2.xs> in the tree, > which never worked for me.
What would that do? Surely Inline::PIR (or whatever imcc's input language is called) would require embedding parrot into a perl extension, and then calling into parrot subroutines from perl. Whereas all we need here is a perl interface to call into the C disassembly API, isn't it? Much simpler (for anyone who knows XS) Nicholas Clark