def _parse_source(source):
    """
    Parses the names-generator.go source to find adjectives and names.

    Parameters
    ----------
    source : str
        The source file to be parsed.

    Returns
    -------
    tuple(2)
        Two lists with [0] being adjectives and [1] being names.
    """
    collecting = False
    left = []
    right = []
    side = ''
    for line in source.splitlines():
        if '//' in line:
            continue
        if 'left' in line:
            collecting = True
            side = 'left'
            continue
        if 'right' in line:
            collecting = True
            side = 'right'
            continue
        if '}' in line:
            collecting = False
            side = ''
            continue
        if 'func GetRandomName' in line:
            break
        if collecting and '"' in line:
            cleaned_line = line.strip().replace('"', '').replace(',', '')
            if side == 'left':
                left.append(cleaned_line)
            if side == 'right':
                right.append(cleaned_line)
            continue
    return left, right
