added AttrDict to parser and refactoring

This commit is contained in:
JanLJL
2019-06-04 12:55:32 +02:00
parent 6c212d130c
commit d553998b90
8 changed files with 265 additions and 222 deletions

View File

@@ -9,6 +9,8 @@ class BaseParser(object):
LABEL_ID = 'label'
MEMORY_ID = 'memory'
REGISTER_ID = 'register'
INSTRUCTION_ID = 'instruction'
OPERANDS_ID = 'operands'
def __init__(self):
self.construct_parser()