
8 Mar
2012
8 Mar
'12
11:16 a.m.
Christian Maeder
The simplest solution is to parse the prefixes yourself and do not put it into the table.
(Doing the infixes "&" and "|" by hand is no big deal, too, and possibly easier then figuring out the capabilities of buildExpressionParser)
Is there another solution? My post was a simplified example to showcase the problem; in general I would prefer to use a function to build the expression parser. I could just write my own that does not have this problem, and in fact, I already have, I just wanted to know whether Parsec could be wrangled into shape. -- \ Troels /\ Henriksen