<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def interpreter(self):
 """ Launch an AML interpreter session for testing """

        while True:
            message = input('[#] ')
            if message.lower().strip() == 'exit':
                break

            reply = self.get_reply('#interpreter#', message)
            if not reply:
                print('No reply received.', end='\n\n')
                continue

            # typewrite(reply, end='\n\n') TODO
            print(reply, end='\n\n')