File size: 239 Bytes
fcdf91d
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14


class BaseCodeInterpreter:
    """
    .run is a generator that yields a dict with attributes: active_line, output
    """
    def __init__(self):
        pass

    def run(self, code):
        pass

    def terminate(self):
        pass