I wrote a hand-rolled recursive parser for day 19, which I think can handle the 
general case (as long as the rules are not left recursive): 
<https://github.com/auxym/AdventOfCode/blob/master/2020/day19.nim>

Reply via email to