<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On the side:<br>
<br>
Arthur Baars has a full Haskell combinator parser. He made it work<br>
with ghc and could bootstrap itself, i.e. it parses all the Ghc sources<br>
and all of the fptools libraries. The speed of the parser seems<br>
pretty good: ghc compiles itself and fptools about 5-10% slower<br>
than with the standard haddock parser.<br>
<br>
I am not sure if he reads this list so you might want to contact<br>
him directly to get the sources.<br>
<br>
-- Daan Leijen.<br>
<br>
<br>
Niklas Broberg wrote:
<blockquote cite="mida49071280505030422736c5de9@mail.gmail.com"
 type="cite">
  <pre wrap="">Seems there's some trouble with your mail server, I keep getting
'delivery failure'. Hopefully mails through the list will get through.

Anyway, I've now merged my repo with the changes to haskell-src in
CVS. There were no merge conflicts.

  </pre>
  <blockquote type="cite">
    <pre wrap="">I'd also like to parameterize the parser over the Extensions
type currently in Distribution.Extension (maybe it should move to
Language.Haskell.Extension) so that users could selectively enable
extensions.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I agree that the parser (and the lexer too) should be parametrized
over extensions. The Extensions type in Distribution.Extension looks a
bit messy, but I guess that's a different issue entirely, I suppose
once that's stable we'll have no problems using it. I've started
adding some infrastructure to my lib for doing this parametrization,
it seems to be fairly straight-forward (but tedious). I'll keep
working on it.

There are a few non-conservative changes introduced in
haskell-src-exts, so I guess it's best to wait until all the extension
parametrization is there before adding my stuff to the official cvs.

/Niklas
_______________________________________________
Libraries mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libraries@haskell.org">Libraries@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://www.haskell.org/mailman/listinfo/libraries">http://www.haskell.org/mailman/listinfo/libraries</a>
  </pre>
</blockquote>
<br>
</body>
</html>