Idiom #369 Parse matching brackets
Generate a collection, a, of index-values, given the text, s, containing paired bracket values.
For example, "{ { } } { }" is `(0, 6) (2, 4) (8, 10)`.
https://en.wikipedia.org/wiki/Bracket_(mathematics)
https://en.wikipedia.org/wiki/Scope_(computer_science)