A couple of oddities, like the syntax for
calling assemble.pl from the examples/assembly directory:
perl
..\..\assemble.pl -o queens.pbc queens.pasm perl ..\..\assemble.pl queens.pasm > queens.pbc
parrot queens.pbc
The first assemble works OK, whereas the second form (recommended in the docs) doesn't work (parrot dies with
PackFile_Constant_clear: Unrecognized type '
' during unpack!
PackFile_unpack: Error reading constant table segment!
Parrot VM: Can't unpack packfile queens.pbc.
)
This caused me to tear my hair out at first. Interestingly enough, it doesn't happen with all files, (e.g. with stack.pasm no problem)
Squawk 0 Comments More | Login | Reply /