[Haskell-cafe] Operator precedence and associativity with Polyparse

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Oct 26 00:30:00 CEST 2011

On 26 October 2011 06:37, Tom Hawkins <tomahawkins at gmail.com> wrote:
> Hi,
> Can someone provide guidance on how handle operator precedence and
> associativity with Polyparse?

Do you mean parsing something like "1 + 2 * 3" ?  I don't think
there's any real difference in using Polyparse vs Parsec for this,
except for doing "p `orElse` q" rather than "try p <|> q".

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list