I have a grammar that is quite ambiguous. Ambiguities aren't solved easily because the
grammar is quite complex and the task of resolving ambiguity is probably not possible.
Ambiguities are supposed to be solved later after establishing some context in which it
can be resolved.
The biggest source of parsing failures I have because in the alignment of the matching
rules a short match often prevents a long match from being found. And I wonder if I can
look for the longest match with petit parser. Combining parsers with / always finds the
first matching and | does not find anything if more than one rule matches.
Any advize how to do this with petit?
Norbert