code: def stringToProgram(string):
      if isinstance(string, str):
          string = string.split()
      program = []
      for token in string:
          try:
              token = int(token)
          except ValueError:
              try:
                  token = float(token)
              except ValueError:
                  pass
          program.append(token)
      return program
  
imports: from fontTools.cffLib import maxStackLimit
label_desc: Use image node_id 1 for calling a global function with example usage: stringToProgram(string) and returns: program