[Haskell-beginners] haskell-src

Brent Yorgey byorgey at seas.upenn.edu
Sun Oct 16 18:50:39 CEST 2011


As I understand it, haskell-src-exts is to be preferred to haskell-src
since it is more actively maintained and parses more programs
(including some GHC extensions).  You may want to try switching to
haskel-src-exts and see if that solves your problem.

-Brent

On Sun, Oct 16, 2011 at 06:27:47PM +0200, jean verdier wrote:
> I'm using haskell-src to build a haskell compiler. I've compiled
> hscolour and haskell-src to java classes and used the result to colorize
> and report parsing errors in an eclipse editor. I use 1.0.1.3 and it
> reports unterminated comments on the token before the {- token so it is
> mildy informative and possibly an error in the implementation.
> haskell-src serves me well but i would like some better error reporting
> as "parse error" is quite non informative. I would like to avoid
> building my own parser and so would like to know what the options are
> for parsing haskell sources with an improved error reporting.
> 
> I've no idea how i should share screenshots so i've uploaded to the
> first site i've found:
> http://imageshack.us/photo/my-images/853/scr1g.png/
> http://imageshack.us/photo/my-images/706/scr2a.png/
> 
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners



More information about the Beginners mailing list