How do I investigate parser conflicts?

Dr. ERDI Gergo gergo at erdi.hu
Mon Dec 22 12:44:06 UTC 2014


On Mon, 22 Dec 2014, Jan Stolarek wrote:

> I noticed that changes I made to the Parser on my branch increase the number of reduce/reduce
> conflicts. Are there any tools/techniques/etc I can use to investigate this? Or do I just have to
> use trial and error (possibly guided with some knowledge of parsing)? Specifically, is there any
> way I can check which productions are causing conflicts?

Have you tried looking at the output produced by the -i flag of Happy?


More information about the ghc-devs mailing list