docs: def preprocess_belscript(lines):
      """ Convert any multi-line SET statements into single line SET statements"""
  
      set_flag = False
      for line in lines:
          if set_flag is False and re.match("SET", line):
              set_flag = True
              set_line = [line.rstrip()]
          # SET following SET
          elif set_flag and re.match("SET", line):
              yield f"{' '.join(set_line)}\n"
              set_line = [line.rstrip()]
          # Blank line following SET yields single line SET
          elif set_flag and re.match("\s+$", line):
              yield f"{' '.join(set_line)}\n"
              yield line
              set_flag = False
  
          # Append second, third, ... lines to SET
          elif set_flag:
              set_line.append(line.rstrip())
          else:
              yield line