How do I investigate parser conflicts?

Simon Peyton Jones simonpj at microsoft.com
Mon Dec 22 12:42:35 UTC 2014


Yes!  Use the --info flag for Happy

https://www.haskell.org/happy/doc/html/sec-invoking.html

Simon

|  -----Original Message-----
|  From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Jan
|  Stolarek
|  Sent: 22 December 2014 12:39
|  To: ghc-devs at haskell.org
|  Subject: How do I investigate parser conflicts?
|  
|  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?
|  
|  Janek
|  
|  _______________________________________________
|  ghc-devs mailing list
|  ghc-devs at haskell.org
|  http://www.haskell.org/mailman/listinfo/ghc-devs


More information about the ghc-devs mailing list