Closed dmcomm closed 1 year ago
If we're breaking the API anyway, it would be a good time to move and/or rename the digirom types as I was thinking about recently.
ClassicDigiROM
inherit from BaseDigiROM
(they are pretty close now)BaseResultSegment
- subclasses implement str_data
and null_value
from_string
in BytesCommandSegment
and WordsCommandSegment
BaseDigiROM.from_string
BaseDigiRom.__init__
to take string segments.
core_words
has undesirable copy-and-paste programming fromcore_bytes
, and there is some other duplication. Probably need to remove classmethodfrom_string
from the API and replace the constructors.