On Tue, Apr 28, 2009 at 1:09 PM, Max Bolingbroke
wrote:
> 2009/4/28 Scott Michel :
>> This got me to thinking that either ghc has issues or I have some
>> fundamental misunderstanding of Haskell syntax. Or, maybe I should use
>> someone else's grammar.
>
> GHC's parser is over-generous by design.
2009/4/28 Scott Michel :
> This got me to thinking that either ghc has issues or I have some
> fundamental misunderstanding of Haskell syntax. Or, maybe I should use
> someone else's grammar.
GHC's parser is over-generous by design. See
http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 28, 2009, at 01:24 , Scott Michel wrote:
I've been hacking along on a NetBeans Haskell plugin (*) Looking at
Parser.y.pp, because both Eclipse and NetBeans work with antlr, it
seems like there are interesting cases in which chimeric constructi
I've been hacking along on a NetBeans Haskell plugin (*) Looking at
Parser.y.pp, because both Eclipse and NetBeans work with antlr, it
seems like there are interesting cases in which chimeric constructions
parse correctly. Here's an example:
class ParsedModule m where
let { a = 1; b = 2; } in a