Happy / Alex description for Haskell2010

Doaitse Swierstra doaitse at swierstra.net
Thu Oct 25 19:11:51 UTC 2018


I do not know why you do need a Haskell parser, but the Utrecht Haskell Compiler contains a combinator based Haskell parser (using the uulib package, supporting the offside rule) which might serve your needs. It can easily be adapted if needed.

 Doaitse Swierstra



> Op 25 okt. 2018, om 20:31  heeft Sam Halliday <sam.halliday at gmail.com> het volgende geschreven:
> 
> Hello all,
> 
> Is there a Happy / Alex file describing Haskell2010?
> 
> I can see the versions in the ghc source tree, but of course they
> support all the ghc extensions. The link to the hsparser page [1] in
> the Happy documentation doesn't seem to exist anymore.
> 
> I would also love to hear if there is a Bison definition.
> 
> Best regards,
> Sam
> 
> [1] http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/hsparser.html
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users



More information about the Glasgow-haskell-users mailing list