Using Sprache I have parsers, A,B,C,D which matches with different input parts, and selects (returns) different class instances. In my input there are a lot of parts in a random order, eq. "abaabccbdbabddba". I need to select all 'a'-s and 'b'-s and so on - order is irrelevant:
from a_list in A.Many()
from b_list in B.Many()
from c_list in C.Many()
from d_list in D.Many()
won't work this way. How can I describe this situation (best way) in Sprache?