Parser for Glasgow Extensions?

Lennart Kolmodin kolmodin at dtek.chalmers.se
Wed May 18 05:55:40 EDT 2005


mcnster wrote:
> Hello there,
> 
> Has anyone written a version of
> libraries/haskell-src/Language/Haskell/Parser.ly (and friends) to parse
> the language plus Glasgow extensions?  I have code with | <- guards that
> the current parser barfs on.
> 
>   - the mcnster -
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

You might want to have a look at this library:
http://www.cs.chalmers.se/~d00nibro/haskell-src-exts/
by Niklas Broberg.

There is also a parser in Haddock which saves Haddock comments
(naturally :)) :
http://cvs.haskell.org/cgi-bin/cvsweb.cgi/fptools/haddock/
by Simon Marlow and friends. I don't know whether it's good on
extensions or not.

/ Lennart Kolmodin

-- 
"The only thing that interferes with my learning is my education."
        -- Albert Einstein


More information about the Glasgow-haskell-users mailing list