Helper codecs.
A string codec that decodes from 5..10 to a Kotlin IntRange with the represented min and max. For unbounded minimum, use min..<some max> and for unbounded maximum, use <some min>..max.
5..10
min..<some max>
<some min>..max