version 0.1.2
minor update
- added unittests to cover the registry interface
Instruction.clone(_template_cls)now takes an optional_template_clsto clone the current instruction into a user provided class that at least takes the same constructor arguments asInstruction()- added
InstructionRegistry()that allows to create a registry based on a caller providedInstruction()subclass. check out the testcase intests/test_registryfor how to use this. Allows you to quickly build a registry for your own Instruction class.