<span class="hljs-keyword">var</span> left: <span class="hljs-built_in">seq</span>[<span class="hljs-built_in">bool</span>]
  <span class="hljs-keyword">for</span> c <span class="hljs-keyword">in</span> text:
    <span class="hljs-keyword">case</span> c
    <span class="hljs-keyword">of</span> <span class="hljs-string">'['</span>:
      left.add <span class="hljs-literal">true</span>
    <span class="hljs-keyword">of</span> <span class="hljs-string">'0'</span> .. <span class="hljs-string">'9'</span>:
      