> I REALLY dislike the idea of having my comments lexed. Can't we leave
> this part of the language spec alone?
OK, ok, ok. I am suitably berated and I yield.
* Comments *start* with a lexeme, as previously discussed, and I think
this is fine.
* The opening lexeme may be '--', '---' etc for ordinary comments, or
'{-' for nested comments
* Note that '{--' is not a lexeme at all, so the maximal munch rule won't
munch it. Hence '{--' lexes as '{-' followed by stuff; it does start
a nested comment.
* Nested comments are closed, as in all earlier Haskells, by character by
character matching for -}. (Modulo nesting, as now.)
OK?
Simon
- Re: Haskell 98 progress... Hans Aberg
- Re: Haskell 98 progress... Jeffrey R. Lewis
- Re: Haskell 98 progress... Hans Aberg
- Re: Haskell 98 progress... Jeffrey R. Lewis
- RE: Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Lennart Augustsson
- RE: Haskell 98 progress... Simon Peyton-Jones
- Re: Haskell 98 progress... Peter Thiemann
- Re: Haskell 98 progress... Lennart Augustsson
- Re: Haskell 98 progress... Lennart Augustsson
- RE: Haskell 98 progress... Simon Peyton-Jones
- RE: Haskell 98 progress... S. Alexander Jacobson
- Re: Haskell 98 progress... Andreas Rossberg
- Re: Haskell 98 progress... Peter Thiemann
- Re: Haskell 98 progress... Jon . Fairbairn
- Re: Haskell 98 progress... Graeme Moss
- Re: Haskell 98 progress... Graeme Moss
