<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def parser(self):
        '''
        Get parser for this type. Create the parser on first call.
        '''
        if not hasattr(self, '_parser'):
            self._parser = self._compile()
        return self._parser