view python/irmach.py @ 266:649884d9dc61 Working chain 1

Test
author Windel Bouwman
date Fri, 09 Aug 2013 16:49:29 +0200
parents 444b9df2ed99
children 5ec7580976d9
line wrap: on
line source



class MachProgram:
    pass


class MachFunction:
    def __init__(self, name):
        self.name = name
        self.entry = None


class MachBlock:
    def __init__(self):
        self.instructions = []


class MachIns:
    """ Absract machine instruction """
    def __init__(self, mi):
        self.mi = mi