Refactor to a chain-of-responsibility for instruction parsers