Factorize 'branch' function to limit the try/except scope
Make the match_or_raise pattern appear
Creation and usage of _match_or_raise
Usage of _values_to_int and _match_or_raise in several places.

Not finished.