if the movement is towards left then we move left . The start variable and mark that position as visited if not visited previously . Else we break out
if s [ start ] == " < " : NEW_LINE INDENT if mark [ start ] == 0 : NEW_LINE INDENT mark [ start ] = 1 NEW_LINE start -= a [ start ] NEW_LINE DEDENT DEDENT