> I am wondering what is the best way (in terms of
> easy-to-use and easy-to-install) to use a parser
> for Haskell in Hugs. As far as I know the parsers
> by Sven Panne and Manuel Chakravarty require ghc.
You could try using the parser from nhc98, written using
space-efficient parser combinators.
ftp://ftp.cs.york.ac.uk/pub/haskell/parsepp
I have stripped out almost everything except the parser and
pretty-printer (this one should really be called an ugly-printer).
See the README, and Main.hs.
Regards,
Malcolm
P.S. With the help of dependencies generated automatically by hmake,
creating and testing this package with hugs took about 15 minutes.