Michael Collins wrote:

Is there currently a specification for a pbc "object file" for linking and dynamic
loading?


No, not yet. Packfile loading and some parrot guts still need more cleanup for getting multiple bytecode sections running.


By "object file" I guess mean a file that contains compiled instructions plus
a section with a table that maps subroutine/constant labels to their corresponding
byte offsets within the file.


Yep. The basic functionality is already there. But some internal structures like constant and fixup table need some rework to do it right. And of course we need some opcodes to load another PBC file.


If no, it might be useful.

And needed.


leo



Reply via email to