<span class="hljs-literal">result</span>.values.add ord(c) - ord(<span class="hljs-string">'0'</span>)
      <span class="hljs-literal">result</span>.lefts.add left
    <span class="hljs-keyword">of</span> <span class="hljs-string">','</span>:
      left[^<span class="hljs-number">1</span>] = <span class="hljs-literal">false</span>
    <span class="hljs-keyword">of</span> <span class="hljs-string">']'</span>:
      <span class="hljs-keyword">discard</span> left.pop
    <span class="hljs-keyword">else</span>