Hi,
Can someone provide guidance on how handle operator precedence and
associativity with Polyparse?
Thanks in advance.
-Tom
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 26 October 2011 06:37, Tom Hawkins 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 d
>> 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"
On 26 October 2011 10:49, Tom Hawkins wrote:
>>> 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,
>> excep
Am 26.10.2011 01:49, schrieb Tom Hawkins:
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 `orEl