def f_reversible_inverse(self, program):
    """Removes all parenthesis from the program."""
    program_no_brackets = program.replace("(", "").replace(")", "")
    program_single_space = re.sub(" +", " ", program_no_brackets).strip()
    return program_single_space
Removes all parenthesis from the program.
language/compir/dataset_parsers/scan_parser.py