docs: def parse(s):
      """Parse full s-expr from bytes."""
      if s.startswith(b'('):
          s = s[1:]
          name, s = parse_term(s)
          values = [name]
          while not s.startswith(b')'):
              value, s = parse(s)
              values.append(value)
          return values, s[1:]
  
      return parse_term(s)