code: def parse_text(self,text):
          
          try:
              return self.rProgram.ignore(cStyleComment).parseString(text, parseAll=True)
          except SemanticException as err:
              print(err)
              exit(3)
          except ParseException as err:
              print(err)
              exit(3)
docs: Parse string (helper function)