code: def get_default_compiler(osname=None, platform=None):
      """Determine the default compiler to use for the given platform.
  
      osname should be one of the standard Python OS names (i.e. the
      ones returned by os.name) and platform the common value
      returned by sys.platform for the platform in question.
  
      The default values are os.name and sys.platform in case the
      parameters are not given.
      """
      if osname is None:
          osname = os.name
      if platform is None:
          platform = sys.platform
      for pattern, compiler in _default_compilers:
          if (
              re.match(pattern, platform) is not None
              or re.match(pattern, osname) is not None
          ):
              return compiler
      # Default to Unix compiler
      return "unix"
  
imports: import sys
  import os
  import re
  import warnings
  from .errors import CompileError, LinkError, UnknownFileError, DistutilsPlatformError, DistutilsModuleError
  from .spawn import spawn
  from .file_util import move_file
  from .dir_util import mkpath
  from ._modified import newer_group
  from .util import split_quoted, execute
  from ._log import log
label_desc: Use image node_id 1 for calling a global function with example usage: get_default_compiler(osname, platform) and returns: str, compiler