Feel free to CC me or the ticket with things like that. I'll be
working on this for this year's GSoC and it'd be helpful to find out
what I should tackle first.
On Fri, May 9, 2008 at 8:30 PM, Claus Reinke <[EMAIL PROTECTED]> wrote:
>
>
> > Ah, I didn't think about the GHC options that change the
2008/5/9 Claus Reinke <[EMAIL PROTECTED]>:
>
>
> > Ah, I didn't think about the GHC options that change the lexical
> > syntax. You're right, using the GHC lexer should be easier.
> >
>
> and, if you do that, you could also make the GHC lexer
> squirrel away the comments (including pragmas, if th
Ah, I didn't think about the GHC options that change the lexical
syntax. You're right, using the GHC lexer should be easier.
and, if you do that, you could also make the GHC lexer
squirrel away the comments (including pragmas, if they aren't
already in the AST) someplace safe, indexed by, or a
2008/5/9 Simon Marlow <[EMAIL PROTECTED]>:
> David Waern wrote:
>>
>> 2008/5/8 Simon Marlow <[EMAIL PROTECTED]>:
>>>
>>> So basically you want to run a lexer over the source again to collect all
>>> the comments?
>>
>> Yes.
>>
>>> You really want to use GHC's lexer, because otherwise you
>>> have t
David Waern wrote:
2008/5/8 Simon Marlow <[EMAIL PROTECTED]>:
So basically you want to run a lexer over the source again to collect all
the comments?
Yes.
You really want to use GHC's lexer, because otherwise you
have to write another lexer.
I don't mind writing a lexer that just collects
2008/5/8 Simon Marlow <[EMAIL PROTECTED]>:
> So basically you want to run a lexer over the source again to collect all
> the comments?
Yes.
> You really want to use GHC's lexer, because otherwise you
> have to write another lexer.
I don't mind writing a lexer that just collects the comments. It
David Waern wrote:
2008/5/2 Claus Reinke <[EMAIL PROTECTED]>:
2008/5/2 Simon Marlow <[EMAIL PROTECTED]>:
David Waern wrote:
No it doesn't, but it's on the TODO list. It needs a fix in GHC.
By the way, I'm going to experiment with doing the parsing of comments
on the Haddock side instead of