code: def native_concat(nodes):
      
      head = list(islice(nodes, 2))
  
      if not head:
          return None
  
      if len(head) == 1:
          out = head[0]
      else:
          out = u''.join([text_type(v) for v in chain(head, nodes)])
  
      try:
          return literal_eval(out)
      except (ValueError, SyntaxError, MemoryError):
          return out
docs: Return a native Python type from the list of compiled nodes. If the
      result is a single node, its value is returned. Otherwise, the nodes are
      concatenated as strings. If the result can be parsed with
      :func:`ast.literal_eval`, the parsed value is returned. Otherwise, the
      string is returned.