code: def colorize_line(l):
      lll = l
  
      try:
          parts = []
  
          if l.startswith("(compiler file"):
              return "".join(colorize_strings(l))
  
          if l.startswith("/"):
              p = l.find("(")
              parts.append(GRAY + l[:p] + RST)
              l = l[p:]
  
          if l and l.startswith("("):
              p = l.find(")")
              parts.append(":" + MGT + l[1:p] + RST)
              l = l[p + 1 :]
  
          if l:
              if l.startswith(" : "):
                  l = l[1:]
  
              if l.startswith(": error"):
                  parts.append(": " + RED + "error" + RST)
                  l = l[7:]
              elif l.startswith(": warning"):
                  parts.append(": " + YEL + "warning" + RST)
                  l = l[9:]
              elif l.startswith(": note"):
                  parts.append(": " + GRN + "note" + RST)
                  l = l[6:]
              elif l.startswith("fatal error"):
                  parts.append(RED + "fatal error" + RST)
                  l = l[11:]
  
          if l:
              parts.extend(colorize_strings(l))
  
          return "".join(parts)
      except Exception:
          return lll
  
imports: import sys
  import os
  import re
  import subprocess
  import signal
  import time
  import json
  import argparse
  import errno
  import process_command_files
  import process_whole_archive_option
label_desc: Use image node_id 14 for calling a global function with example usage: colorize_line(l) and returns: str, str, lll