Packfile: A little more documentation
Packfile: update dumper for Subroutine and Multi
Store and print multisigs
Involves updating Packfile.Subroutine to store the sig and disasm to
Packfile.Decompile: Use Subroutine in constants
Instead of using the raw Sub, store a Packfile.Subroutine built from
Packfile.Subroutine: Build from a core Sub
This also stores the Sub inside the Subroutine for future reference.
Packfile.Key: use int for types
Fixes calling the wrong multi constructor
Packfile.Decompile: Initial multi handling
Appears to collect multi candidates properly
Packfile.Key: Actually advance the key
Packfile.Decompile: subs don't have get_bool
I wanted to check for null anyway
Packfile: helper function to add oplibs
Packfile: Remove unused 'useful opcode'
Packfile: oplibs are stored in hashes, not RPAs
Packfile: dump oplibs
Decompile: Don't try to pop things off a null sub
It doesn't work very well. Managed to avoid this one in manual
testing by having an :immediate sub in there so there was dead code
before the first sub.
First bug caught by writing tests. How exciting.
Packfile.Decompile: use $load directive
It's clearer than writing my own init function, and matches the
style I'm using for tests.
$include 'pact/packfile.winxed' just looked funny